Struts2 Spring Hello World in Eclipse

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
struts2 spring file structure

—index.jsp—

—Welcome.jsp—

—applicationContext.xml—

—User.java—

—struts.xml—

—web.xml—

OUTPUT:

output1
output2

Get the complete code with all the jars included. Enjoy

  • Hi, after reading this amazing paragraph i am also cheerful to share my experience here with mates.