Monthly Archive: August 2013

Struts2 sort Tag Example

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 …

Struts 2 – The generator tag

In this tutorial, we are going to describe the generator tag. The generator tag is a generic tag that is used to generate iterators based on different attributes passed. Here we will not pass any …

Struts 2 Merge Tag Example

In this section, we are going to describe the merge tag. The merge tag is a generic tag that is used to merge iterators. The successive call to the merge iterator causes each merge iterator …

Struts 2 Append Tag Example

In this example we will discuss about the append tag in the strust2. Append tag is actually combine two iterators into a single iterator. he append tag is a generic tag that is used to …

Struts 2 Iterator Tag Example

In this section, we are going to describe the Iterator tag. Iterator tag is used to iterate over a value. An iterable value can be either of: java.util.Collection, java.util.Iterator. Create action classes: First of all …

Struts 2 Control Tags

In this tutorial we will discuss about the control tags in struts2. The Struts 2 tags have a set of tags that make it easy to control the flow of page execution. Following is the …