|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Action
An action is the base of the MAF. Everything that is mapped to a request path must be an action. Actions are singletons (or at least the framework knows only one instance of them).
| Method Summary | |
|---|---|
ActionCommand |
execute(ActionMapping mapping,
FormBean formBean,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Called by the framework. |
void |
postProcess(ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Called by the framework after call to the execute. |
void |
preProcess(ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Called by the framework prior to call to the execute. |
| Method Detail |
|---|
void preProcess(ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
mapping - req - res -
Exception
ActionCommand execute(ActionMapping mapping,
FormBean formBean,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
mapping - action mappingformBean - backing beanreq - http requestres - http response
Exception - any exception
void postProcess(ActionMapping mapping,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
mapping - req - res -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||