Struts2 Spring Hello World in Eclipse

struts2 spring file structure

Following example shows the integration of Struts2 ans Spring using ant in Eclipse Using struts v-2.3.4.1 and spring v-3.2.0 File Structure —index.jsp—

—Welcome.jsp—

—applicationContext.xml—

—User.java—

—struts.xml—

—web.xml—

OUTPUT: Get the complete code with all the jars included. Enjoy

Continue Reading

Struts 2.x Tiles Framework

In this post we are going to see the Struts 2.x Tiles Framework, Plugins integration and Use. Struts 2.x with Tiles integration provide us an easy and effective way to manage our web page contents or our web page look. It can help us to make changes in only a particular section of page leaving […]

Continue Reading

Struts2 Validation using validation.xml Netbeans Example

Struts2 provides different validation methods. In this post basic validation method is described that uses the validation.xml file.   File Structure   —index.jsp—

  —Register.java—

  —struts.xml—

  —Register.validation.xml— (Place this file in the folder where your Register.java is)

  There are other pages also. Download the complete program. Validation_Struts2_Mvn_Netbeans.rar   […]

Continue Reading

xml Validation Struts2 Example

Struts2 provides different validation methods. In this post basic validation method is described that uses the validation.xml file. File Structure —index.jsp—

Struts 2 Validation Example   —Register.java—

—struts.xml—

—Register.validation.xml— (Place this file in the folder where your Register.java is)

  There are other pages also. Download the complete program. Validation_Struts2_Mvn_Eclipse.rar OUTPUT […]

Continue Reading
1 2 3 5