Tagged: struts2

struts2 spring file structure 1

Struts2 Spring Hello World in Eclipse

Following example shows the integration of Struts2 and Spring using ant in EclipseUsing 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”%>...

Struts2 Validation using validation.xml Netbeans Example 0

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

xml Validation Struts2 Example 0

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

Struts2 Hello World in Eclipse 1

Struts2 Hello World in Eclipse

Struts2 Hello World Example in Eclipse Below Example use struts2.3.X version Project Structure —index.jsp— Struts2 Eclipse Hello WorldWelcome To Struts 2! Hello World   —HelloWorld.jsp— Hello World!   —web.xml— Struts2...

How to Send Email in Java, Struts 2.x 0

How to Send Email in Java, Struts 2.x

This is a struts 2.x based Java “Email Sending” Web application. I have developed this project using Netbeans IDE 7.2 and Glassfish 3.1 as the Integrated Server.  We are very...