|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface WebAction
Defines an interface for developing web application actions. An action implementation should handle one form at the most.
| Method Summary | |
|---|---|
void |
create(java.lang.String name,
Controller controller,
javax.servlet.ServletContext context)
Create the action and initialise all required resources. |
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context)
Execute the action. |
| Method Detail |
|---|
void create(java.lang.String name,
Controller controller,
javax.servlet.ServletContext context)
throws ConfException
name - String containing the name of this action.controller - Controller that created this action.context - Current servlet context.
ConfException - if the action cannot be created.
void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context)
throws javax.servlet.ServletException,
java.io.IOException
request - HTTP request received.response - HTTP response to be used.context - Current servlet context.
javax.servlet.ServletException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||