This project has retired. For details please refer to its
Attic page.
JspTilesRequestContext (Tiles 2 2.0.7 API)
org.apache.tiles.jsp.context
Class JspTilesRequestContext
java.lang.Object
org.apache.tiles.servlet.context.ServletTilesApplicationContext
org.apache.tiles.servlet.context.ServletTilesRequestContext
org.apache.tiles.jsp.context.JspTilesRequestContext
- All Implemented Interfaces:
- TilesRequestContext, TilesApplicationContext
public class JspTilesRequestContext
- extends ServletTilesRequestContext
- implements TilesRequestContext
Context implementation used for executing tiles within a
jsp tag library.
- Version:
- $Rev: 603723 $ $Date: 2007-12-12 21:07:37 +0100 (Wed, 12 Dec 2007) $
Methods inherited from class org.apache.tiles.servlet.context.ServletTilesRequestContext |
forward, getHeader, getHeaderValues, getParam, getParamValues, getRequest, getRequestLocale, getRequestScope, getSessionScope, initialize, isUserInRole, release, wrapServletException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JspTilesRequestContext
public JspTilesRequestContext(ServletContext context,
PageContext pageContext)
- Constructor.
- Parameters:
context
- The servlet context to use.pageContext
- The page context to use.
dispatch
public void dispatch(String path)
throws IOException
- Dispatches a path. In fact it "includes" it!
- Specified by:
dispatch
in interface TilesRequestContext
- Overrides:
dispatch
in class ServletTilesRequestContext
- Parameters:
path
- The path to dispatch to.
- Throws:
IOException
- If something goes wrong during dispatching.- See Also:
ServletTilesRequestContext.dispatch(java.lang.String)
include
public void include(String path)
throws IOException
- Includes the response from the specified URL in the current response output.
- Specified by:
include
in interface TilesRequestContext
- Overrides:
include
in class ServletTilesRequestContext
- Parameters:
path
- The path to include.
- Throws:
IOException
- If something goes wrong during inclusion.
getResponse
public HttpServletResponse getResponse()
- Get the underlying response.
- Specified by:
getResponse
in interface TilesRequestContext
- Overrides:
getResponse
in class ServletTilesRequestContext
- Returns:
- The current request object.
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.