Introduction
Part I. Configuring Struts
Configuring web.xml
Configuring the Struts ActionServlet
Declaring Initialization Parameters
Using the load-on-startup Setting
Setting Up the Welcome File List
Configuring the Tag Libraries
The Struts Configuration Files
Using Multiple Struts Configuration Files
The data-sources Element
The form-beans Element
The global-exceptions Element
The global-forwards Element
The action-mappings Element
The controller Element
The message-resources Element
The plug-in Element
Part II. Using Struts ActionForms
What Are ActionForms?
ActionForms and Scope
The Life Cycle of an ActionForm
Creating an ActionForm
The validate(
) Method
The ActionForm reset(
) Method
Declaring ActionForms in the Struts Configuration File
Using an ActionForm
The DynaActionForm Class
Configuring Dynamic ActionForms
DynaActionForm and Validation
Creating the validation.xml File
Plugging in the Validator
Part III. Built-in Action Classes
DispatchAction
ForwardAction
IncludeAction
LookupDispatchAction
SwitchAction
Part IV. Tag Reference
Conventions
Common Tag Attributes
Using JavaBeans with Struts Tags
Accessing Simple Properties
Accessing Nested Properties
Accessing Indexed Properties
Bean Tags
cookie
define
header
include
message
page
parameter
resource
size
struts
write
HTML Tags
Common HTML Attributes
JavaScript Event Handlers
HTML Tag Descriptions
Logic Tags
Value Comparison
Empty Value Check
Value Present Check
Substring Matching
Messages Check
Application Flow Management
Collection Utilities
Nested Tags
Root Tags
Nested Parent Tags
Child Tags
Tiles Tags
add
definition
get
getAsString
importAttribute
initComponentDefinitions
insert
put
putList
useAttribute
Part V. Resources
The Struts Mailing Lists
The Struts Resource Web Page
Struts Tools
Index