org.apache.struts.tiles
Class UrlController
java.lang.Object
|
+--org.apache.struts.tiles.UrlController
- All Implemented Interfaces:
- Controller
- public class UrlController
- extends java.lang.Object
- implements Controller
Tiles controller including a local URL.
Field Summary |
protected java.lang.String |
url
URL associated with this controller. |
Constructor Summary |
UrlController(java.lang.String url)
Constructor. |
Method Summary |
void |
execute(ComponentContext tileContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
Method associated to a tile and called immediately before the tile
is included. |
void |
perform(ComponentContext tileContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
Method associated to a tile and called immediately before the tile
is included. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
url
protected java.lang.String url
- URL associated with this controller.
UrlController
public UrlController(java.lang.String url)
- Constructor.
- Parameters:
url
- URL.
perform
public void perform(ComponentContext tileContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext)
throws javax.servlet.ServletException,
java.io.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.
- Specified by:
perform
in interface Controller
- Parameters:
tileContext
- Current tile context.request
- Current request.response
- Current response.servletContext
- Current servlet context.
execute
public void execute(ComponentContext tileContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.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
- See Also:
Controller.execute(org.apache.struts.tiles.ComponentContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext)
Copyright © 2000-2005 - The Apache Software Foundation