org.apache.struts.tiles
Class ControllerSupport
java.lang.Object
org.apache.struts.tiles.ControllerSupport
- All Implemented Interfaces:
- Controller
- public class ControllerSupport
- extends java.lang.Object
- implements Controller
Basic implementation of Controller. Implementations can extend this class
to insulate themselves from changes in the Controller
interface.
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)
Method associated to a tile and called immediately before tile is
included. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerSupport
public ControllerSupport()
perform
public void perform(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
throws ServletException,
java.io.IOException
- Method associated to a tile and called immediately before tile is
included. This implementation does nothing.
- Specified by:
perform
in interface Controller
- Parameters:
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
- Throws:
ServletException
java.io.IOException
execute
public void execute(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
throws java.lang.Exception
- Description copied from interface:
Controller
- Method associated to a tile and called immediately before the tile
is included.
- Specified by:
execute
in interface Controller
- Parameters:
tileContext
- Current tile context.request
- Current requestresponse
- Current responseservletContext
- Current servlet context
- Throws:
java.lang.Exception
- See Also:
org.apache.struts.tiles.Controller#execute(org.apache.struts.tiles.ComponentContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext)
Copyright ? 2000-2006 - The Apache Software Foundation