Search Results for: struts2

Struts2 Integration with Tiles & Spring

In this tutorial we will discuss about Tiles Framework and its Integration with Struts2. We will add Tiles support to our previous Struts application with Spring 3 that we created in previous parts. I strongly …

Struts2 Spring Integration Example

In this tutorial, it shows the integration between Struts 2 and Spring3. Why you want to integrate spring with struts 2? Spring provides some features which are not available in struts 2.Most powerful among them …

a tag example in Struts2

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 …

Struts2 subset Tag Example

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 …

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 …