|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Controller implementations provide the core business logic for
the Struts forms and actions. By delegating the work to controllers we
reduce the complexity of the forms and actions themselves and allow the
business logic to be captured in one spot. Controllers are
dynamically loaded by the actions and forms so updating business logic can
be a simple matter of adding a new jar with the right controllers, and
updating the struts-config.xml file.
| Method Summary | |
void |
setForm(ActionForm form)
Sets the form containing user data. |
void |
setRequest(HttpServletRequest request)
Sets the servlet request. |
void |
setResponse(HttpServletResponse response)
Sets the servlet response. |
| Method Detail |
public void setRequest(HttpServletRequest request)
request - The incoming request.public void setResponse(HttpServletResponse response)
response - The outgoing response.public void setForm(ActionForm form)
form - The form holding the user information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||