Search Results for: struts2
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 …
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 …
Simple UI Tags: We have used these tags in our examples already, we will brush them in this chapter. Let us look a simple view page index.jsp with several simple UI tags: <%@ page language="java" …
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 …
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 …
We can achieve Zero Configuration in struts2 using java 5 annotations feature. Previously we normally configured struts.xml for all the configurations . The XML file wires up the action names (employee), with ActionSupport classes (EmployeeAction.java), …