|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.struts.tiles Interface Controller
- All Known Implementing Classes:
- ControllerSupport, UrlController, ActionController
- public interface Controller
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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
Method associated to a tile and called immediately before the tile is included. |
void |
perform(ComponentContext tileContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
Deprecated. Use execute() instead. This will be removed after Struts 1.2. |
Method Detail |
perform
public void perform(ComponentContext tileContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException, java.io.IOException
- Deprecated. Use execute() instead. This will be removed after
Struts 1.2.
- Method associated to a tile and called immediately before the tile is included.
- Parameters:
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
execute
public void execute(ComponentContext tileContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext) throws java.lang.Exception
- Method associated to a tile and called immediately before the tile is included.
- Parameters:
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000-2005 - The Apache Software Foundation