org.apache.struts.tiles
Class UrlController
java.lang.Object
org.apache.struts.tiles.UrlController
- Controller
public class UrlController
extends java.lang.Object
Tiles controller including a local URL.
protected String | url - URL associated with this 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 the tile
is included.
|
url
protected String url
URL associated with this controller.
UrlController
public UrlController(String url)
Constructor.
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 the tile
is included. This implementation calls an 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 B) 2000-2007 - The Apache Software Foundation