|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A controller is a piece of code called before rendering a jsp page. A controller can be associated to a tile. See <insert> or <definition> for association syntax.
Method Summary | |
void |
execute(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
Method associated to a tile and called immediately before the tile is included. |
void |
perform(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
Deprecated. Use execute() instead. This will be removed after Struts 1.2. |
Method Detail |
public void perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, java.io.IOException
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
ServletException
java.io.IOException
public void execute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws java.lang.Exception
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |