Using Struts--A Detailed Example
Using Struts--A Detailed Example
Struts and the Basketball Application
Forwarding the URL to a Login Page
The
logic:redirect
Tag
Redirect vs. Forward
Web Forms and Form Beans
Action Mappings
ActionForm Classes
The
reset()
and
validate()
Methods
Message Resource Bundles
Using Properties in JSPs
The ActionErrors Object
Parameterizing Error Messages
Telling Struts How to Validate Input
Accessing Errors in JSPs: The
html:errors
Tag
Action Classes
Relating JSPs, Form Beans, and Actions
The LoginAction Class
Putting Objects into Session Scope
Declarative Exception Handling
Action Forwarding
Passing Control from One Action to Another
An Action for Showing Options
DynaActionForm Objects
Differing Uses of Form Beans
Iterating in JSPs Using the logic:iterate Tag
Passing Control to an Action without Validation
The dispatchOption Action
The dispatchOption Action (cont'd)
Accessing a Database
Includes and Links
Includes and Links (cont'd)
Finally