org.apache.struts.tiles

Class UrlController

public class UrlController extends Object implements Controller

Tiles controller including a local URL.
Field Summary
protected Stringurl
URL associated with this controller.
Constructor Summary
UrlController(String url)
Constructor.
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 the tile is included.

Field Detail

url

protected String url
URL associated with this controller.

Constructor Detail

UrlController

public UrlController(String url)
Constructor.

Parameters: url URL.

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)
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.

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

Copyright B) 2000-2008 - The Apache Software Foundation