JBoss.orgCommunity Documentation

Struts Tools Tutorial

Version: 2.1.0.CR1

April 2008


1. Introduction
2. Creating a Simple Struts Application
2.1. Starting Up
2.2. Creating the Application Components
2.2.1. Creating JSP Page Placeholders
2.2.2. Creating an Action Mappings
2.2.3. Creating a Link
2.2.4. Creating a Forward
2.2.5. Creating a Global Forward
2.2.6. Creating a Form Bean
3. Generating Stub Coding
4. Coding the Various Files
4.1. Java Stub Classes
4.1.1. GetNameForm.java
4.1.2. GreetingAction.java
4.2. JSP Pages
4.2.1. inputname.jsp
4.2.2. greeting.jsp
4.2.3. index.jsp
5. Compiling the Classes and Running the Application
6. Struts Validation Examples
6.1. Starting Point
6.2. Defining the Validation Rule
6.3. Client-Side Validation
6.4. Server Side Validation
6.5. Editing the JSP File
6.6. Editing the Action
6.7. Editing the Form Bean
7. Other Relevant Resources on the topic