Home Struts Struts Tutorials - Jakarta Struts Tutorial
Questions:Ask|Latest



Struts Tutorials - Jakarta Struts Tutorial
Posted on: February 12, 2008 By Deepak Kumar
This complete reference of Jakarta Struts shows you how to develop Struts applications using ant and deploy on the JBoss Application Server.

Struts Tutorials - Jakarta Struts Tutorial

Learn Struts Framework with the help of examples and projects.

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.

Lets Get Started with the Struts Framework:

  1. Struts 2.2.1
  2. Struts 2.1.8
  3. Struts 2
  4. Struts1 Examples

Struts 1

  1. Struts1 vs Struts2
    Struts2 is more powerful framework as compared to struts1. The table given below describes some differences between struts1 and struts2
      
  2. Introduction to the Apache Struts
    This lesson is an introduction to the Struts and its architecture.
      
  3. MVC Architecture
    The main aim of the MVC architecture  is to separate the business logic and application data from the presentation data to the user.
      
  4. Struts Architecture
    Struts is an open source framework used for developing J2EE web applications using Model View Controller (MVC) design pattern. It uses and extends the Java Servlet API to encourage developers to  adopt an MVC architecture.
      
  5. How Struts Works?
    The basic purpose of the Java Servlets in struts is to handle requests made by the client or by web browsers. In struts JavaServerPages (JSP) are used to design the dynamic web pages. In struts, servlets helps to route request which has been made by the web browsers to the appropriate ServerPage.
      
  6. Introduction to the Struts Controller
    This lesson is an introduction to Controller part of the Struts Framework.
      
  7. Introduction to the Struts Action Class
    This lesson is an introduction to Action Class of the Struts Framework.
      
  8. Using Struts ActionFrom Class
    This shows how to create user interface form using struts ActionFrom class and jsp page.
      
  9. Using Struts HTML Tags
    Section shows you the different types of Struts HTML Tags available for the development of views in JSP.
      
  10. Introduction to Struts Validator Framework
    Struts Framework provides the functionality to validate the form data. It can be use to validate the data on the users browser as well as on the server side.
      
  11. Client Side Address Validation in Struts
    In this lesson we will create JSP page for entering the address and use the functionality provided by Validator Framework to validate the user data on the browser.
      
  12. Custom Validators Example
    In this tutorial you will learn how to develop Custom Validators in your Struts 1.3 applications. Struts Validator framework provides many validation rules that can be used in the web applications. If you application needs special kind of validation, then you can extend the validator framework to develop your own validation rule.
      
  13. - Developing Application with Struts Tiles
    In this lesson we will create Struts Tiles Applications.
      
  14. - Using tiles-defs.xml in Tiles Application
    In this lesson you will learn how to define and use the "plugin" definitation in tiles-defs.xml file.
      
    Advance Struts
      
  15. - Struts DynaActionForm
    In this lesson we will create Struts DynaActionForm.
     
  16. - Struts File Upload
    In this lesson we will create Struts File Upload program.
     
  17. - Struts file upload and save on server
    In this tutorial you will learn how to use Struts program to upload on the Server and display a link to the user to download the uploaded file.
      
  18. - Struts Resources
    RoseIndia.Net is the ultimate Struts Resources for the web development community using Struts in their development. Struts is ultimate framework for the development of web applications based on MVC framework using JSP/Servlet as base.
      
    Struts Actions Examples
      
  19. Struts Built-In Actions
    - In this section we  will give a quick look to the  few of built-in utility actions shipped with Struts APIs. These built-in utility actions provide different functionalities useful to  diverse applications. 
        
  20. - Struts Dispatch Action Example
    Here in this example you will learn more about Struts Dispatch Action that will help you grasping the concept better.
     
  21. - Struts Forward Action
    In this section we  will learn about Struts ForwardAction (org.apache.struts.actions.ForwardAction). The ForwardAction is one of the Built-in Actions that is shipped with struts framework.
        
  22. - Struts LookupDispatchAction Example
    Struts LookupDispatch Action
    (org.apache.struts.actions.LookupDispatchAction) is one of the Built-in Actions provided along with the struts framework.
     
  23. - Struts MappingDispatchAction Example
    Struts MappingDispatch Action
    (org.apache.struts.actions.MappingDispatchAction) is one of the Built-in Actions provided along with the struts framework.
      
  24. - STRUTS ACTION - AGGREGATING ACTIONS IN STRUTS
    In this article we will see how to achieve this. Struts provides four important classes for this
    purpose. 
      
  25. Aggregating Actions In Struts Revisited -
    In my previous article Aggregating Actions in Struts , I have given a brief idea of how to create action aggregations. An action aggregation is a grouping of a set of related actions into a single unified action in order to eliminate the need to write a new action class for every action. In this part, I will walk through a full-fledged practical example of each of the types presented in Part I namely the DispatchAction , LookupDispatchAction , MappingDispatchAction and ActionDispatcher along with two new aggregations which slightly differ in syntax but are more efficient than the previous ones.
     
  26. - Set the mapping name example
    Set the mapping name to the action attribute of html:link
      
  27. Set the action name example
    Set the action name to the action attribute of html:link  -  
     
  28. - Configuring Struts DataSource Manager on Tomcat 5
    In this lesson we will create example to Configure Struts DataSource Manager on Tomcat 5.
       
  29. - STRUTS INTERNATIONALIZATION
    In this tutorial we shall see how to implement Internationalization (abbreviated as I18N) in Struts.
         
  30. - Developing Struts PlugIn
    This article show you how to develop custom Struts PlugIn and incorporate in your Struts Web Applications. After completing this tutorial you will be able to create your own custom PlugIn for your web application.
      
  31. - Struts Nested Tag
    The tag library â??nestedâ?? is included in Struts 1.1. In this tutorial we are going to explain what are the features of nested tag library and how you can use it. We can manage nested beans easily with the help of struts nested tag library.
      
  32. Struts Logic Tags Examples
    The Struts Logic tags provides the functionally that enables the programmers to generate html output based on different control statements like looping, iteration, if, else. etc..
     
    • Introduction to Struts Logic Tags
      Struts logic tags are conditional tags that replaces scriptlets in the jsp files.
       
    • Logic Empty and notEmpty Tags
      - Tag evaluation of the nested body content occurs only if the specified value is either absent (i.e. null), an empty string (i.e. a java.lang.String with a length of zero)
        
    • Logic Equal and notEqual Tags -
      - if the requested variable is equal to the specified value then this tag is used to evaluate the contents contained in the nested body parts of this tag
        
    • Logic greaterEqual and greaterThan Tags -
      - This tag compares the variable against the specified constant value. If the variable is greater than or equal to the specified value then the nested body contents of this tag is evaluated
        
    • Logic lessEqual and lessThan Tags -
      This tag compares the variable against the specified constant value. If the variable is less than or equal to the specified value then the nested body contents of this tag is evaluated
        
    • Logic match and notMatch Tags -
      This tag matches the variable specified as a String against the specified constant value. If the value is a substring  then the nested body content of this tag is evaluated.
        
    • Logic present and notPresent Tags -
      This tag checks the current request and depending on which attribute is specified, it evaluates the nested body content of this tag only if the specified value is present.
        
  33. - Download the Source code

    - Download the Source code of the application.

Struts 2, JPA, Hibernate and Spring Online Training HOT

Struts 2 Tutorials

  1. - Introduction to Struts 2
    - Introduction to Struts 2 framework.

Struts Hibernate Integration Tutorial NEW
In this tutorial I will show you how to integrate Struts and Hibernate. After completing this tutorial you will be able to use Hibernate in your Struts project. Download the source code of Struts Hibernate Integration Tutorial.

  1. Struts Hibernate Integration Tutorial
    In this tutorial I will show you how to integrate Struts and Hibernate. After completing this tutorial you will be able to use Hibernate in your Struts project. We will be using Hibernate Struts plug-in to write high performance application using Struts and Hibernate
      
  2. Setting up MySQL Database and table
    This section describes how to setup database and populate it with the data. We are using MySQL Database for this tutorial.
      
  3. Downloading Struts, Hibernate and Integrate It
    This section explains you to setup the develop workbench for our Struts Hibernate tutorial
      
  4. Writing Hibernate configuration file, POJO class and Tutorial.hbm.xml (Hibernate mapping class)
    In this section we will write required hibernate objects like configuration files and then integrate all the stuffs.
      
  5. Developing Hibernate Struts Plugin
    In this section we will write Hibernate Struts Plugin Java code and integrate it with the Struts.
     
  6. Writing Web Client to Search the database using Struts Hibernate Plugin
    In this section we will write web client to test struts Plugin. We will be developing a search form to search the tutorials from the table.
     
  7. Build and testing the application
    In this section we will build our Struts Hibernate Plugin Application and then test.
      
Jakarta Struts - Tutorial By R.S.RAMASWAMY
Email: ramrsr@rediffmail.com 
  • - Part1 
    INTRODUCION TO STRUTS FRAMEWORK
     
  • - Part 2
    Developing Struts Application.
     
  • - Part 3
    Testing Struts Application. 
     
     
     
Struts Validator Framework;
  • - Struts Validator Framework
    We will now have a brief and practical recapitulation of a typical Struts-based application and then proceed to illustrate the use of Validator framework, with a lab-oriented lesson.
     
  • - Using Struts Validator Framework
    Using Struts Validator framework in the real application.
     

- Simple Struts Applications

  1. - Developing Login From In Struts
    This simple struts application show you how to develop Login Form in Struts, validate the user and show error message to user if user is not authenticated successfully.
     

- Struts Integration with EJB

  1. Struts integration with EJB in JBOSS 3.2 
  2. Struts integration with EJB in WEBLOGIC7
Struts Tutorials, Struts Software, Struts References, Struts Projects, Struts Presentations, Struts MappingDispatchAction Example, Struts LookupDispatchAction Example, Struts Links, Struts IDE, Struts Guide, Struts Frameworks, Struts Book, Struts Articles, Struts Alternative, Struts Validator Framework, Struts MappingDispatchAction Example, Aggregating Actions In Struts Revisited, Struts API

- Tell us what you think about our Struts Tutorial, or anything else that comes to mind. Post your questions, comments and queries, answer the user queries.


Recommend the tutorial

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