1. Introduction to Struts 2
|
|
- Objectives
- The Struts 2 Framework
- Struts 2 MVC Pattern
- Struts Declarative Architecture
|
|
2. Struts 2 Actions
|
|
- Objectives
- What Does an Action Do?
- Packaging Actions
- Implementing Actions
- ActionSupport Class
- Transferring Data into Objects
- Summary
|
|
3. Struts Interceptors
|
|
- Objectives
- Intercepting Requests
- Interceptors in Action
- Built-in Struts Interceptors
- Declaring Interceptors
- Implementing an Interceptor
- Summary
|
|
4. Data Transfer with OGNL
|
|
- Objectives
- Data Transfer and Type Conversion
- OGNL and Struts 2
- Built-in Type Converters
- Customizing Conversion
- Summary
|
|
5. View Tags
|
|
- Objectives
- Using ValueStack in Tags
- Struts 2 Tag API
- Data Tags
- Control Tags
- JSTL and Other Tags
- Using OGNL with Tags
- Summary
|
|
6. UI Component Tags
|
|
- Objectives
- Purpose of UI Component Tags
- Tags, Templates, and Themes
- Summary
|
|
7. Action Results
|
|
- Objectives
- Life After the Action
- Common Result Types
- Alternatives to JSP
- Global Results
- Summary
|
|
8. Integrating Struts 2 with Spring, Hibernate or JPA
|
|
- Objectives
- Adding Spring to Struts 2
- Using JPA or Hibernate with Struts 2
- Summary
|
|
9. Validation Framework
|
|
- Objectives
- Overview of the Validation Framework
- Wiring Actions with Validation
- Custom Validator
- Validation Inheritance
- Summary
|
|
10. Internationalization
|
|
- Objectives
- Struts 2 and I18N
- I18N Tags
- Overriding the Default Locale
- Summary
|
|
11. Struts 2 Plug-ins
|
|
- Objectives
- Plug-in Overview
- Common Plug-ins
- Internal Component System
- Summary
|
|
12. Best Practices
|
|
- Objectives
- Setting Up the Environment
- Unit-testing Actions
- Maximizing Reuse
- Advanced UI Tag Usage
- Summary
|
|
13. Migrating from Struts 1.x
|
|
- Objectives
- Translating Struts 1.x Knowledge
- What Happened to ActionForms?
- Incremental Conversion
- Summary
|
|
14. Advanced Topics
|
|
- Objectives
- Advanced Action Usage
- Dynamic Method Invocation
- Preventing Duplicate Form Submissions
- Displaying Wait Pages
- Single CRUD Action
- Tiles and Struts 2
- Summary
|
|