Save This Page
Home » struts-1.3.9-src » org.apache.struts » tiles » [javadoc | source]
org.apache.struts.tiles
public interface: Controller [javadoc | source]

All Known Implementing Classes:
    UrlController, ActionController, MyTileController, ControllerSupport

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 from org.apache.struts.tiles.Controller Summary:
execute,   perform
Method from org.apache.struts.tiles.Controller Detail:
 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.
 public  void perform(ComponentContext tileContext,
    HttpServletRequest request,
    HttpServletResponse response,
    ServletContext servletContext) throws IOException, ServletExceptionDeprecated! Use -  execute() instead. This will be removed after
Struts 1.2.

    Method associated to a tile and called immediately before the tile is included.