Struts Tutorial: Struts 2 Tutorial for Web application development, Jakarta Struts Tutorial

This complete reference of Jakarta Struts shows you how to develop Struts applications using ant and deploy on the JBoss Application Server.

Struts 2 Tutorials - Jakarta Struts Tutorial

Learn Struts 2 Framework with the help of examples and projects. This site also contains the video tutorials of Struts 2 Framework. You will learn the basics and advanced technical details of Struts 2 Framework.

How to learn Struts 2 Framework?

The easiest way to learn Struts 2 framework is to first understand the Struts 2 Features, learn about Struts 2 History, Struts 2 Architecture and uses of Struts 2. After understanding the importance of Struts 2 framework you can actually start learning the concepts of Struts framework.

Struts 2 Training! Get Trained Now!!!

This complete reference of Jakarta Struts shows you how to develop Struts applications using ant and deploy on the JBoss Application Server. Ant script is provided with the example code. Many advance topics like Tiles, Struts Validation Framework, Java Script validations are covered in this tutorial.

Here is the Tutorials of Struts 2 Framework which is supported with the well tested code. You can download the example of Struts 2 tutorial and test on your computer.

Lets Get Started with the Struts Framework:

  2. Struts 2.2.1
  3. Struts 2.1.8
  4. Struts 2
  5. Struts 2.1.8 - Struts 2.1.8 Tutorial
  6. Struts 2.3.8 Tutorials and Examples
  7. Struts 2 Actions
  8. Struts 2 Date Examples
  9. Struts 2 Tutorial
  10. Struts 2 Ajax
  11. Struts 2 Application
  12. Struts 2 Tags Examples
  13. Struts 2 Downloads
  14. Struts 2 Tags (UI Tags) Examples
  15. Struts 2 Resources Examples
  16. Struts 2 Validation
  17. Struts 2, JPA and Hibernate Training

More tutorial of Struts Framework will be added as an when new version of Struts 2 is released. Here on this page there are more tutorials of Struts 1  Framework.


Struts 2 Tutorials

Struts 1 Tutorials

Struts 1 is reached end of life of the project. So, if you are still using Struts 1 migrate your project to Struts 2. You can still find Struts 1 tutorial on our website. Here is the links of Struts 1 Tutorials.

Share on Google+Share on Google+

Struts Tutorial: Struts 2 Tutorial for Web application development, Jakarta Struts Tutorial

Posted on: February 12, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles



Discuss: Struts Tutorials - Jakarta Struts Tutorial   View All Comments

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
June 14, 2012
sir please give me solution

in server one error is comming properties file not found in tomcat server. sir please give me for that solution
Ravi Rajawat
June 21, 2012
tutorials of java download

I wants to be a java development professional.
meet darji
July 11, 2012

how the stuts framework is usefull for the making of web base application
December 2, 2012

June 14, 2013

Thankyou so much for the post,I am wondering now after setnitg up the video how to replace the scene,is this possible any help would be fantastic, unless there is a way to make another view and load new scenes into that anyway thank you so much for your wonderful tutorial, the video works wonderfully!
Mahmmed Majeed
July 17, 2013
Struts1 Tutorial Comments

I feel the tutorial is very useful and valuable. But its good to have as a PDF with entire sections at one place.
Sandy krish
February 3, 2014
Nice subject

easy to understand
May 27, 2014
Struts2: Dropdown option by using select tag

Plz help me..... How to get Dropdown option in Struts form page by using struts tag <select> my Code is:: When i run the following code i got error.. like tag 'select', field 'list', name 'Department': The requested list key '{'01':'Administration','02':'Developement','03':'Testing','04':'Production'}' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location] at org.apache.struts2.components.Component.fieldError( at org.apache.struts2.components.Component.findValue( at org.apache.struts2.components.ListUIBean.evaluateExtraParams( at org.apache.struts2.components.Select.evaluateExtraParams( at org.apache.struts2.components.UIBean.evaluateParams( at org.apache.struts2.components.UIBean.end( at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag( at org.apache.jsp.Salary_jsp._jspx_meth_s_005fselect_005f0( at org.apache.jsp.Salary_jsp._jspx_meth_s_005fform_005f0( at org.apache.jsp.Salary_jsp._jspService( at org.apache.jasper.runtime.HttpJspBase.service( at javax.servlet.http.HttpServlet.service( at org.apache.jasper.servlet.JspServletWrapper.service( at org.apache.jasper.servlet.JspServlet.serviceJspFile( at org.apache.jasper.servlet.JspServlet.service( at javax.servlet.http.HttpServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.struts2.dispatcher.FilterDispatcher.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.StandardWrapperValve.invoke( at org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.Http11Processor.process( at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( at$ at ----------- <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> <html> <head> <title>Hr_Manager</title> <link href="bootstrap/css/bootstrap-theme.min.css" rel="stylesheet"> <script type="text/javascript" src=""></script> <script src="bootstrap/js/bootstrap.min.js"></script> <style> body { background:cyan; } </style> </head> <body> <center> <h1>SALARY DETAILS</h1> <s:actionerror/> <s:form action="add.action"> <s:textfield name="SalaryRevId" label="SalaryRevId"/> <s:textfield name="EmpId" label="EmpId"/> <s:select label="Select Department" name="Department" headerKey="1" headerValue="-- Please Select --" list="{'01':'Administration','02':'Developement','03':'Testing','04':'Production'}" /> <s:select label="Select Designation" name="Designation" name="Designation" headerKey="1" headerValue="-- Please Select --" list="{'01',:'Developer','02':'Designer',03':'Sr.Developer','04':'BusinessAnalyst'}" /> <h1>Salary Allowance</h1> <s:textfield name="BasicAllowance" label="BasicAllowance"/> <s:textfield name="H.R.A Allowance" label="H.R.A Allowance"/> <s:textfield name="D.A Allowance" label="D.A Allowance"/> <s:textfield name="P.FDeduction" label="P.FDeduction"/> <s:textfield name="L.I.C DEDUCTION" label="L.I.C DEDUCTION"/> <s:textfield name="Incentives" label="Incentives"/> <s:submit value="submit" align="center"/> </s:form> <s:iterator value="SalaryDetails" > <table> <thead> <tr> <td>EmpID</td></tr> </thead> <tr> <td><s:property value="SalaryRevId"/></td> <td><s:property value="EmpId"/></td> <td><s:property value="Designation"/></td> <td><s:property value="Department"/></td> <td><s:property value="BasicAllowance"/></td> <td><s:property value="H.R.A Allowance"/></td> <td><s:property value="D.A Allowance"/></td> <td><s:property value="P.FDeduction"/></td> <td><s:property value="L.I.C DEDUCTION"/></td> <td><s:property value="Incentives"/></td> </tr> </table> </s:iterator> </center> </body> </html>
July 15, 2012
Retrieving the values from jsp to action class.

Hello..I am new to Struts 2 frame-work.. Am developing an application in struts 2 in which i have 2 jsp's(Login.jsp & Result.jsp)..Initially am going to load the Login.jsp page..It gets redirected to the request page on submission..In my request page i have a field naming Project Name..which is a text which am going to enter the project name..on submission of the request page..i want the project name to be set in my action class..which accesses a bean's setter method..I appreciate ur help..