Services | Updates | Contact
Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
Your suggestions
Your suggestions Use the form on this page to tell us your ideas for enhancing our products, or improving our customer
 
Creating a JTabbedPane Container in Java Swing
In this section, you will learn how to create the JTabbedPane container in Java Swing.
 
More Tutorials...


    Loan Information     Struts     Open Source

Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML

 
 
Struts

 
Comments
 
 

 

Struts Tutorials - Jakarta Struts Tutorial

Struts1 Examples

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.

  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 Free 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

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.

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

106 comments so far (post your own) View All Comments Latest 10 Comments:

173. When to use struts technology? What type of applications are developed using struts frame work?

Posted by rajmohan on Monday, 05.5.08 @ 12:15pm | #58523

this site is very good for all java people who wants to learn individually

Posted by karunakar on Monday, 04.28.08 @ 01:15am | #58016

this is a very nice place to find all java related topics at one place

Posted by kiran on Saturday, 04.26.08 @ 20:27pm | #57940

hi all

i have some application where i am using struts and i want to create a directory structure under web folder and i want to write some files there is it possible

Posted by hitesh on Thursday, 04.24.08 @ 20:14pm | #57801

Information is nice,,,
but it is not much user friendly..
c

Posted by Ramdinesh k.p on Wednesday, 04.2.08 @ 23:38pm | #55145

I need some struts sample project

Posted by Raj on Tuesday, 03.25.08 @ 18:40pm | #54291

i dont see any thing in "Struts 2 With Database Connection How To?, Struts"

if is there any example in that then how to see that example.

Posted by srinivas on Thursday, 03.20.08 @ 12:23pm | #53446

thank u very much.
i got to clear all my doubts........

thank u

Posted by swagatika swain on Monday, 03.10.08 @ 09:09am | #52166

kudos to ur site. it helps!

Posted by ascii on Saturday, 02.23.08 @ 07:00am | #49563

i want struts example and configure files
web.xml and stuts_config.xml and explain them
how do use applicaion resorces?

Posted by Rajavelu.k on Thursday, 02.14.08 @ 13:27pm | #48243

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.