Struts 2.2.1 - Struts 2.2.1 Tutorial
Posted on: November 12, 2010 at 12:00 AM
Learn Struts 2.2.1 framework with the help of many easy to run examples.

Struts 2.2.1 - Struts 2.2.1 Tutorial

The Struts 2.2.1 framework is released with many new features. Here in this tutorial you will find detailed explanation of Struts 2.2.1 framework.

Struts 2.2.1 framework is based on MVC design pattern. It is one of the most used frameworks to create web applications using MVC design pattern in Java technology.  Struts 2.2.1 provides Ajax support and can be used to develop Web 2.0 applications.

Struts 2.2.1 framework is highly extensible framework and also supports the plugins and interceptors for advance programming.

In this section we are providing complete tutorial on Struts 2.2.1 framework.

Prerequisites for Struts 2.2.1 tutorial

You should have prior development experience in JSP, Servlet and good understanding of Core Java. Good understanding to web application and must have prior web application development experience.

Let's get started with Struts 2.2.1

Beginning Struts 2.2.1

  1. Features of Struts 2.2.1
  2. Understanding MVC design pattern
  3. Developing Hello World application
  4. Running and testing the example
  5. Struts 2 hello world application using annotation
  6. Running and testing the example
  7. Advance Struts Action

Struts Action

  1. Introduction to Action interface
  2. Introduction to ModelDriven interface with example
  3. Example of ActionSupport class
  4. Implementing Actions in Struts 2
  5. Chaining Actions in Struts
  6. Configuring Actions in Struts application

Login Form Application

  1. About Struts 2.2.1 Login application
  2. Create JSP file
  3. Create Action class
  4. Add configuration in struts.xml file
  5. Build and test application

Results

  1. Result interface in Struts 2.2.1
  2. Chain Result Example
  3. Dispatcher Result Example
  4. HttpHeader Result Example
  5. Redirect Result Example
  6. Redirect Action Result Example
  7. Stream Result example
  8. Introduction to XSL Result and its example
  9. Learn how to use PlainText Result
  10. Tiles Result Example in Struts 2.2.1
  11. Introduction to PreResultListener
  12. How to work with Multipage Forms in Struts 2.2.1
  13. Pagination example in Struts 2.2.1

Validation in Struts 2.2.1 application

  1. Introduction to Validation Interceptor
  2. Client side Validation
  3. Server side Validation
  4. AJAX Validation
  5. Using Field Validators
  6. Using Non Field Validators
  7. Login form validation example

Struts 2.2.1 Tags

  1. Type of Struts 2.2.1 tags
  2. Example of Generic Tags
  3. Example of UI Tags
  4. Example of Themes and Templates
  5. Example of Ajax Tags
  6. Example of OGNL
  7. Example of Tabular inputs
  8. How to use Checkboxes in Struts 2.2.1 applications
  9. Example of Iterator tag in Struts 2.2.1
  10. Learn how to format dates and numbers in Struts 2.2.1
  11. Skinning example in Struts 2.2.1
  12. How to handle multiple Submit Buttons in your application

Ajax Application in Struts 2.2.1

  1. Introduction to Ajax
  2. Ajax support in Struts 2.2.1
  3. Developing Simple Example

Interceptors in Struts 2.2.1

  1. Introduction to AOP and Interceptor
  2. Struts 2.2.1 Interceptor Example
  3. Introduction to the Interceptor interface in Struts 2.2.1
  4. How to implement aspects using interceptors
  5. How to configure interceptors in struts.xml
  6. How to configure Interceptor Orders in Struts application
  7. Example of File Upload Interceptor
  8.  How to use ExecuteAndWait Interceptor

Type conversion

  1. Introduction to Type conversion in Struts
  2. Type conversion example

Test-driven Development in Struts 2.2.1 application

  1. JUnit
  2. Using Spring mock objects
  3. Writing unit tests
  4. Test Actions

Database driven application in Struts 2.2.1

  1. Setting up maven based project
  2. Creating database
  3. Adding database capability in Struts 2.2.1 application
  4. Creating model classes
  5. Writing action classes
  6. Writing JSP files
  7. Configuring in struts.xml file
  8. Running and testing application

Miscellaneous Examples

  1. Struts PDF Generating Example
  2. Struts 2 Interceptor Example
  3. Struts Online Test application
  4. Struts2.2.1 and hibernate integration application
  5. Shopping Cart Application
  6. Mailing Application
  7. Hibernate criteria example using struts2

Related Tags for Struts 2.2.1 - Struts 2.2.1 Tutorial:

Advertisements

Ads

Ads

 
Advertisement null

Ads