This project has retired. For details please refer to its
Attic page.
TilesDispatchServlet (Tiles 2 2.0.7 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 |
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-2008 Apache Software Foundation. All Rights Reserved.