Struts Framework Archive
In this tutorial, We will discuss about the param tag in struts 2. This tag can be used to parameterize other tags. The parameters can be added with or without a name as key. when …
In this section, we are going to describe the include tag. The include tag is a generic tag that is used to include a servlet’s output (result of servlet or a JSP page) to the …
In this tutorial, we are going to describe the action tag. The action tag is a generic tag that is used to call actions directly from a JSP page by specifying the action name and …
Struts 2 “a” tag is used to render a HTML “<a>” tag. The best practice is always use “<s:url>” tag to create the URL and embed it into the “a” tag. Create Action class: DataTagAction.java …
In this section, we will discuss about the data tags (generic tags) provided with struts 2 framework . Struts 2 Data tags, help to get the data from the ValueStack, or place the data into …
The subset tag is a generic tag is used to output a subset or portion of an iterator elements. The following Example will shows how to implement the subset tag in the Struts2. First we …
In this tutorial, we will discuss about sort tag. The sort tag is used to sort a List using a java.util.Comparator. List and Comparator both passed in as the tag attribute. First we create a …