Apache Struts Training

Print

Request an offer for delivery of this course

Course duration

Course Outline

This advanced course shows JSP and servlet programmers how to build web applications using the Apache Struts framework. Students learn the Struts architecture and see how it captures a great deal of pre-existing best practice: in model/view/controller action mappings, form beans and custom tags for working with HTML forms, input validation, and the Tiles view-building framework. Two chapters near the end of the course cover configuration techniques and other advanced topics.

This version of the course illustrates the use of Struts 1.3; see the previous version for coverage of Struts 1.1.

  1. Struts Architecture
    1. MVC and Model 2
    2. Command Pattern
    3. Jakarta Struts
    4. More XML, Less Java!
    5. Action Mappings
    6. JavaBeans in Struts
    7. Working with Forms
    8. Validation
    9. Presentation Technology
    10. Tiles
  2. Action Mappings
    1. Command Pattern for Web Applications
    2. ActionServlet
    3. Action and Action Mappings
    4. Struts Configuration
    5. Selecting a Forward
    6. Global Forwards
    7. Declarative Exception Handling
    8. Global Exception Handlers
  3. Forms
    1. Working with HTML Forms
    2. Action Forms, a/k/a Form Beans
    3. Relationship to Input
    4. Relationship to Actions
    5. Relationship to the Model
    6. Relationship to Output
    7. DynaActionForm and Map-Backed Forms
    8. Validation
    9. Coarse-Grained Form Beans
  4. Struts Tag Libraries
    1. Building View Components
    2. Struts Tag Libraries
    3. Attributes and Struts Expressions
    4. Building Forms
    5. <html:form>
    6. <html:text> et. al.
    7. Forms and Form Beans
    8. Scope and Duration of Form Data
    9. Managing Hyperlinks
    10. Error Messages
    11. Logic Tags
  5. The JSP Standard Tag Library
    1. JSTL Overview
    2. JSP Expression Language
    3. Core Tags
    4. Formatting Tags
    5. SQL Tags
    6. XML Tags
    7. Mixing JSTL, EL, Scripts and Actions
    8. Indexed Properties and Struts HTML Forms
  6. Internationalization and Localization
    1. i18n in Java
    2. i18n in Actions
    3. i18n in JSTL
    4. i18n in Validation
  7. Input Validation
    1. Validation in Web Applications
    2. Validation in Struts
    3. The Struts Validator Plug-In
    4. Validating ActionForm Subtypes
    5. Configuring Validation
    6. Standard Validators
    7. Rules
    8. The ActionMessages Class
    9. Is <html:form> Necessary?
    10. Reporting Errors
    11. Multi-Page Validation
    12. Client-Side Validation
    13. Limitations on the Client Side
    14. Implementing a Validator
    15. Implementing ActionForm.validate
    16. Mapping-Based Validation
  8. Advanced Configuration
    1. Struts Configuration in Depth
    2. Wildcards
    3. Extensions
    4. The Configuration Object Model
    5. Subclasses and <set-property>
    6. Plug-Ins
    7. Integrating Other Frameworks
    8. Role-Based Security
    9. Chaining Actions
    10. The ComposableRequestProcessor Class
    11. Configuring Command Chains
    12. Modules
  9. Under the Hood
    1. Global Objects
    2. Specialized Struts Actions
    3. The Utility Package
    4. The Commons BeanUtils Class
    5. Form Beans as Adapters to the Business Tier
    6. Reusing Validation Rules
    7. Graceful Validation
  10. Tiles
    1. Consistent Look and Feel
    2. Reusable Layouts and Content
    3. The Tiles Framework
    4. Instantiating Layouts
    5. Body-Wrap Insertions
    6. Tiles and Stylesheets
    7. Working with Tiles Attributes
    8. The Tiles Context
    9. Definitions
    10. Aggregation and Inheritance
    11. The Tiles Plug-In
    12. Forwarding to Definitions
    13. Performance Considerations

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.