Home Struts Struts Tutorial: Struts 2 Tutorial for Web application development, Jakarta Struts Tutorial
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

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

Advertisement
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:

  1. Struts 2.3.15.1 - LATEST VERSION OF STRUTS 2
  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.

Advertisement

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.

Advertisements

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 12, 2008

Ask Questions?    Discuss: Struts Tutorials - Jakarta Struts Tutorial   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
priya
July 11, 2011
struts and jsp

I want to display the saved data in the same page of start and end date.Plz help me out.
Jacki
June 15, 2013
xjhkYjecvauUeM

Haha. I woke up down today. You've cheeerd me up!
Prakash
August 27, 2011
Nice tutorial

<html> <head> <script> function popup(){ alert('Done!!!'); } </head> <body onload="popup()"> Nice Tutorials </body> </html> </script>
princy jain
September 1, 2011
struts framework

hi, This is so nice and benificial for students.here the all information present for the students.i like this too much. Thanku
princy jain
September 1, 2011
comments for struts framework

Hi, i also want to say that this all knowledge about struts increase the confidense of students to gain thier goal and also of me. I always remember this... "if confidence is in your eyes and hopes is your wings, then sky is yours". so thanks for th all information about struts. Thanku
Judith
December 13, 2011
mDpuLzUVKZEfB

Ya learn something new evryeady. It's true I guess!
Jade
March 6, 2013
VlbwuYiJPsh

Antonio,"Mootools animated sdiebar menu"works GREAT in Firefox 2.0.0.11,under XP-Pro SP2 (latest updates).But..when you load it in the latest version of IE6, on mouse hover, the menu items:a) don't show the yellow color highlight, -and-b) the items don't move to the right.Try it in IE6/XP!. Firefox is OK.RaySF
jani
March 1, 2012
java

nice
Mahendra Patil
March 3, 2012
I am Struts Developer

This is really nice article to understand struts to beginner. Thanks
ayyappa
March 22, 2012
there is no correct information why?

sir i visit u r website i want struts related example programs are not availble in u r website plz kindly to produce correct programs. suppose i wil not find out corect path plz send me the profile how see programs in struts........ Thanking you sir..... B.N.V.P.AYYAPPA........
malaya
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
stuts

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

nice
Valeria
June 14, 2013
eakrNEjgjrmLoPE

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
parasu
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(Component.java:230) at org.apache.struts2.components.Component.findValue(Component.java:351) at org.apache.struts2.components.ListUIBean.evaluateExtraParams(ListUIBean.java:80) at org.apache.struts2.components.Select.evaluateExtraParams(Select.java:105) at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:856) at org.apache.struts2.components.UIBean.end(UIBean.java:510) at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42) at org.apache.jsp.Salary_jsp._jspx_meth_s_005fselect_005f0(Salary_jsp.java:298) at org.apache.jsp.Salary_jsp._jspx_meth_s_005fform_005f0(Salary_jsp.java:179) at org.apache.jsp.Salary_jsp._jspService(Salary_jsp.java:107) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) ----------- <%@ 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" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Hr_Manager</title> <link href="bootstrap/css/bootstrap-theme.min.css" rel="stylesheet"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></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>
Pravalika
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 field..in 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..
DMCA.com