org.apache.tiles.web.util
Class TilesDispatchServlet
java.lang.Object
HttpServlet
org.apache.tiles.web.util.TilesDispatchServlet
public class TilesDispatchServlet
- extends HttpServlet
Tiles dispatching servlet. Used to invoke
a definition directly.
Method Summary |
protected void |
doGet(HttpServletRequest req,
HttpServletResponse res)
|
protected void |
doPost(HttpServletRequest req,
HttpServletResponse res)
|
protected java.lang.String |
getDefinitionName(HttpServletRequest request)
Returns the called definition name for the given request. |
void |
init()
|
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 java.lang.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
-
- Throws:
ServletException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
-
- Throws:
ServletException
java.io.IOException
getDefinitionName
protected java.lang.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,
java.io.IOException
-
- Throws:
ServletException
java.io.IOException