org.apache.struts.tiles
Class ActionController
java.lang.Objectorg.apache.struts.tiles.ActionController
- Controller
public class ActionController
extends java.lang.Object
Struts wrapper implementation of Controller. This implementation wraps an
Action in a Controller.
void | execute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
|
void | perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)- Method associated to a tile and called immediately before tile is
included.
|
action
private Action action
Struts action wrapped.
ActionController
public ActionController(Action action)
Constructor.
action - Action to be wrapped.
execute
public void execute(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
throws Exception- execute in interface Controller
org.apache.struts.tiles.Controller.execute(org.apache.struts.tiles.ComponentContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext)
perform
public void perform(ComponentContext tileContext,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext)
throws ServletException,
IOException Method associated to a tile and called immediately before tile is
included. This implementation calls a Struts Action. No servlet is
set by this method.
- perform in interface Controller
tileContext - Current tile context.request - Current request.response - Current response.servletContext - Current servlet context.
Copyright ?? 2000-2014 - The Apache Software Foundation