Specialised Advanced IT Training
Tel : 0845 051 3801
  Generation home>Courses
Introduction to Java Programming 0101
Introduction to Java for non-C programmers 0102
Intermediate Java Programming 0103
Advanced Java Programming 0104
Java Swing 0105
Introduction to Struts 0201
Java Server Faces 0202
Java Web Programming 0203
Java Enterprise Programming 0204
Spring Framework 0205
Hibernate 3.0 0206
Introduction to Web Services 0207
Java Web services Using JAX-RPC 0208
Introduction to Linux 0901
Linux System Administration 0902
Shell Programming 0903
Job Vacancies
J2EE Training    enquiry@advancedittraining.co.uk

Introduction to Struts 0201 - Course duration: 4 days

Course Objectives:

you will learn how to

Describe how Struts fit in a Java application server environment. Use Struts to implement an MVC web application design. Configure a Struts application using struts-config.xml and web.xml. Build a JSP view using Struts and JSTL tags. Handle form validation, error processing, and logging in a Struts environment. Use the Struts Tiles facilities to make the look and feel of a web application flexible and easy to maintain.


Java Programming, Java Web Programming, or Java2 Enterprise Edition. Java Servlet and JSP programming experience, and a basic understanding of HTML and XML is required.

Course Contents:

1. Course Introduction

  • Course Objectives
  • Course Overview
  • Using the Workbook
  • Suggested References

 2. Struts Overview

  • What is Struts?
  • Model 1 Design Pattern
  • Model 2 / MVC Design Pattern
  • Implementing MVC with a Framework
  • The Struts Framework
  • Basic Struts Components
  • Struts Documentation
  • A Struts-Based Application: Logon

3. Struts in a Simple Web Application

  • Stars Information Application
  • List Stars Flow
  • Display Star Flow
  • ActionServlet: the Controller
  • struts-config.xml
  • ActionForm:Form State
  • The execute Method of StarsListAction
  • The execute Method of StarsDisplayAction
  • Directing Processing Flow with an ActionForward
  • Building a View with Tags
  • Review: Flow through a Typical Struts-Based Application

4. The Controller

  • ActionServlet as a Controller
  • RequestProcessor
  • Developer Responsibilities
  • Mapping
  • Forwards
  • Lifecycle of an ActionForm
  • ActionForm Considerations
  • The reset Method
  • The validate Method

5. Action and the Business Model

  • The execute Method of Action
  • execute() Method Considerations
  • Handling an Error
  • Threading Considerations
  • Some Best Practices for Action
  • More Best Practices for Action

6. The View

  • Forwarding to a View
  • Overview of Struts Tags
  • Struts HTML Tags
  • Form-Related Tags
  • Dealing with URLs
  • Using Error Tags
  • Displaying Messages
  • Struts Bean Tags
  • Struts Logic Tags
  • Some Struts View Best Practices

7. Internationalization

  • I18N and L10N
  • Resource Bundles
  • Java's MessageFormat Class
  • Internationalization in Struts
  • I18N with Struts Tags
  • I18N with JSTL tags
  • I18N within Java Code

8. Advanced Struts Features

  • Accessing Bean Properties
  • DynaActionForm: A Configurable Form
  • Indexed and Mapped Properties in a Form
  • Using indexed="true"
  • Preventing Duplicate Form Submits
  • Using ForwardAction and IncludeAction
  • DispatchAction
  • LookupDispatchAction
  • Implementing a LookupDispatchAction

9. Handling Errors

  • Error Handling Options with Struts
  • Documenting Errors with ActionMessage
  • JSP Error Pages
  • Declarative Java Exception Handling
  • Logging in Struts

10. Validation

  • Validator Overview
  • Validator Requirements
  • Configuring Validator Rules
  • Struts Validators
  • Configuring the Struts Validators
  • Configuring Form Validation - global and formset
  • Configuring Form Validation - form and field
  • Configuring Form Validation - arg
  • Configuring Form Validation - var
  • Validation with Regular Expressions
  • ValidatorForm verses ValidatorActionForm
  • Implementing a Validator Method
  • Other Validator Implications

11. Page Composition with Tiles

  • Tiles Overview
  • Building a Tiles Template
  • Basic Tiles Example
  • Tiles Definitions
  • Additional Options with Definitions
  • Placing Definitions in a Configuration File
  • Using the <put> Tag
  • Enabling the Tiles Plug-In
  • Using Tiles

12. Appendix - Nested Tags

  • Why Nested Tags?
  • Using Nested Tags
  • Parent and Root Tags

Standard Tuition 

2 days 875
3 days 1115
4 days 1355
5 days 1595

For more information click here....


About Us
Contact Us
Terms & Conditions
Become a Trainer
2008 Advanced it training , All Rights Reserved
Java Training, Introduction to Java Programming, Introduction to Java for Non-C Programmers Intermediate Java Programming, Advanced Java Programming, Java Swing, J2EE Training, Introduction to Struts, Java Server Faces Java Web Programming, Java Enterprise Programing, Spring Framework, Hibernate 3.0, Introduction to Web Services, Java Web Services Using JAX-RPC, Web Services, Introduction to Web Services, Java Web Services Using JAX-RPC, Linux Training, Introduction to Linux, Linux System Administration , Shell Programming, UNIX Training, UNIX Fundamentals, UNIX Tools & Utilities, Shell Programming, UNIX System Administration, UNIX System Programming in C/C++, Object Oriented Training, C++ Programming, Introduction to Java for Non-C Programmers, Introduction to Java Programming Intermediate Java Programming, Advanced Java Programming, C# Programming, C# Essentials, C# Training, C# Programming, C# Essentials, XML Training, Introduction to XML, Introduction to XSL, Object Oriented Training, Object Oriented Analysis & Design using UML Design Patterns, MySql Training, MYSql developemnt and administration