Package org.apache.struts.tiles
Class UrlController
java.lang.Object
org.apache.struts.tiles.UrlController
- All Implemented Interfaces:
 Serializable,Controller
Tiles controller including a local URL.
- See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) Method associated to a tile and called immediately before the tile is included.voidperform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) Deprecated.Use execute() instead. 
- 
Field Details
- 
url
URL associated with this controller. 
 - 
 - 
Constructor Details
- 
UrlController
Constructor.- Parameters:
 url- URL.
 
 - 
 - 
Method Details
- 
perform
@Deprecated public void perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException Deprecated.Use execute() instead. This will be removed after Struts 1.2.Method associated to a tile and called immediately before the tile is included. This implementation calls anAction. No servlet is set by this method.- Specified by:
 performin interfaceController- Parameters:
 tileContext- Current tile context.request- Current request.response- Current response.servletContext- Current servlet context.- Throws:
 ServletExceptionIOException
 - 
execute
public void execute(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws Exception Description copied from interface:ControllerMethod associated to a tile and called immediately before the tile is included.- Specified by:
 executein interfaceController- Parameters:
 tileContext- Current tile context.request- Current requestresponse- Current responseservletContext- Current servlet context- Throws:
 Exception- See Also:
 
 
 -