Action Mappings
Form beans, JSP pages that access them, and what to do with form beans when a
browser makes a request are specified in a Struts action mapping.
- Made through the action subelement of the
action-mappings element in the struts-config.xml file
- Here is
the login action element
that links the basketball login page with a form bean
- The input attribute of the action subelement specifies the
page containing the input form
- The name attribute names the form bean whose properties
the html:text tags access
- Struts knows the name of the form bean -
"loginForm" - to associate with the login page
- How is the class
that actually implements the bean defined?