|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.components.jsp.JSPEngineImplNamedDispatcherInclude
Allows JSP to be used as a generator. Builds upon the JSP servlet functionality - overrides the output method and returns the byte(s). This implementation includes via ServletContext.getNamedDispatcher() the jsp-response. This a generic implementation.
Field Summary | |
static java.lang.String |
CONFIG_SERVLET_NAME
config-parameter name for specifying the jsp servlet-name. |
static java.lang.String |
DEFAULT_SERVLET_NAME
default value of CONFIG_SERVLET_NAME. |
static java.lang.String |
INC_SERVLET_PATH
The Servlet Include Path |
Fields inherited from interface org.apache.cocoon.components.jsp.JSPEngine |
ROLE |
Constructor Summary | |
JSPEngineImplNamedDispatcherInclude()
|
Method Summary | |
byte[] |
executeJSP(java.lang.String url,
javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
javax.servlet.ServletContext context)
execute the JSP and return the output |
void |
parameterize(org.apache.avalon.framework.parameters.Parameters params)
Set the sitemap-provided configuration. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String INC_SERVLET_PATH
public static final java.lang.String CONFIG_SERVLET_NAME
public static final java.lang.String DEFAULT_SERVLET_NAME
Constructor Detail |
public JSPEngineImplNamedDispatcherInclude()
Method Detail |
public void parameterize(org.apache.avalon.framework.parameters.Parameters params)
parameterize
in interface org.apache.avalon.framework.parameters.Parameterizable
ConfigurationException
public byte[] executeJSP(java.lang.String url, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, javax.servlet.ServletContext context) throws java.io.IOException, javax.servlet.ServletException, org.xml.sax.SAXException, java.lang.Exception
executeJSP
in interface JSPEngine
context
- The Servlet Context
java.io.IOException
javax.servlet.ServletException
org.xml.sax.SAXException
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |