org.apache.struts.tiles

Class ControllerSupport

public class ControllerSupport extends Object implements Controller

Basic implementation of Controller. Implementations can extend this class to insulate themselves from changes in the Controller interface.
Method Summary
voidexecute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
voidperform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
Method associated to a tile and called immediately before tile is included.

Method Detail

execute

public void execute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)

See Also: Controller

perform

public void perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)

Deprecated: Use execute() instead. This will be removed after Struts 1.2.

Method associated to a tile and called immediately before tile is included. This implementation does nothing.

Parameters: tileContext Current tile context. request Current request response Current response servletContext Current servlet context

Copyright © 2000-2008 - The Apache Software Foundation