Category: STRUTS 2.X

Struts 2.x Model Driven Action – Using Netbeans IDE

Struts 2.x Model Driven Action – Using Netbeans IDE

The following example describes the use of Struts 2.x Model Driven Action – Using Netbeans IDE and uses Struts 2.x ActionSupport class and ModelDriven, Preparable and ServletRequestAware interfaces to depict the use of Model...

struts2 spring file structure

Struts2 Spring Hello World in Eclipse

Following example shows the integration of Struts2 and Spring using ant in Eclipse Using struts v-2.3.4.1 and spring v-3.2.0 File Structure —index.jsp— <%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″ pageEncoding=”ISO-8859-1″%> <%@ taglib prefix=”s” uri=”/struts-tags”%> Hello World From...

Struts 2.x Tiles Framework

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...

Struts2 Validation using validation.xml Netbeans Example

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— Struts 2 Validation Example Struts 2 Validation Example   —Register.java— package...

xml Validation Struts2 Example

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— <%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″ pageEncoding=”ISO-8859-1″%> <%@ taglib prefix=”s” uri=”/struts-tags” %> Struts 2...