This project has retired. For details please refer to its
Attic page.
TilesDispatchServlet (Tiles 2 2.1.4 API)
org.apache.tiles.web.util
Class TilesDispatchServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.tiles.web.util.TilesDispatchServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class TilesDispatchServlet
- extends HttpServlet
Tiles dispatching servlet. Used to invoke
a definition directly.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTAINER_KEY_INIT_PARAMETER
public static final String CONTAINER_KEY_INIT_PARAMETER
- Init parameter to define the key of the container to use.
- Since:
- 2.1.2
- See Also:
- Constant Field Values
TilesDispatchServlet
public TilesDispatchServlet()
init
public void init()
throws ServletException
-
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
-
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
getDefinitionName
protected String getDefinitionName(HttpServletRequest request)
- Returns the called definition name for the given request.
- Parameters:
request
- The request to parse.
- Returns:
- The definition name to render.
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
-
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.