RKCP Information Technology




Struts
Home » Courses   » Struts

Struts

This training of Struts helps the participants to know how to use Struts and the Model-View-Controller design pattern to build scalable, data-driven Web applications.

Overview

For developing JSP applications Struts is the most powerful and popular framework. From this training, experienced Java developers get to learn about how to use Struts and the Model-View-Controller (MVC) design pattern to build scalable, maintainable, data-driven Web applications.


Objective

At the end of this training, the participants are expected to be capable of the following:

  • To teach attendees structure and flow of the Struts framework, the most popular framework for building JSP applications
  • To facilitate understanding of the Model-View-Controller (MVC) architecture pattern and how it is applied in Java Web development
  • To teach on students how to follow proper Struts architecture and processes in building Struts applications.

Preferred Audience:

The Struts Framework training is mainly prepared for web developers who already have experience in building Java-based web applications and wants to learn how to build the next generation of Web Applications with the use of Struts.

Total Duration - 4 Days


Prerequisites

All attendees must have prior knowledge of Java with Servlets & JSP.


Syllabus

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