English French German Italian Portuguese Russian Spanish


  • Java Training

    javaInterSource offers live instructor-led courses on all important Java-related technologies, including Apache Struts, Enterprise Java Beans (EJB), J2SE Desktop Java Enterprise Edition (Java EE), Java Fundamentals, Java Web Services, JavaServer Faces, JBoss, Java Server Pages (JSP), and Spring.

    Please refer to our detailed course outlines below.

  • About Java

    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture

    Java is general-purpose, concurrent, class-based, and object-oriented, and is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is considered by many as one of the most influential programming languages of the 20th century, and widely used from application software to web application.

    Read More

  • Course Details Java

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Apache Struts Training

 PDF PrintEmail

Course duration

  • 5 Days

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.

  • Use Struts actions and action mappings to take control of HTTP requests/responses.
  • Manage HTML form input and output with form beans, and use these beans to simplify data handling in the controller.
  • Use JSTL and Struts custom tags to build robust and reusable JSP presentation logic.
  • Support multiple client locales with various internationalization techniques.
  • Define validation rules for input forms, and provide clear user feedback.
  • Build complex presentations using decoupled, reusable tiles, screens and layouts.
  • Java programming
  • Servlets programming
  • JSP
  • Basic knowledge of XML is recommended but not essential
  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.