org.apache.struts.tiles
Interface Controller
- ActionController, ControllerSupport, UrlController
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.
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) - Use execute() instead.
|
execute
public void execute(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
throws Exception
Method associated to a tile and called immediately before the tile
is included.
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
perform
public void perform(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
throws ServletException,
IOException
Use execute() instead. This will be removed after
Struts 1.2.
Method associated to a tile and called immediately before the tile
is included.
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
Copyright B) 2000-2007 - The Apache Software Foundation