org.apache.cocoon.components.jsp
Class JSPEngineImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.jsp.JSPEngineImpl
- All Implemented Interfaces:
- LogEnabled, Parameterizable, ThreadSafe, JSPEngine
public class JSPEngineImpl
- extends AbstractLogEnabled
- implements JSPEngine, Parameterizable, ThreadSafe
Allows Servlets and JSPs to be used as a generator.
- Version:
- CVS $Id: JSPEngineImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Davanum Srinivas
Fields inherited from interface org.apache.cocoon.components.jsp.JSPEngine |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SERVLET_CLASS
public static final String DEFAULT_SERVLET_CLASS
- The Default Servlet Class Name for Tomcat 3.X and 4.X
- See Also:
- Constant Field Values
jspServletClass
public String jspServletClass
- Servlet Class Name
JSPEngineImpl
public JSPEngineImpl()
parameterize
public void parameterize(Parameters params)
- Specified by:
parameterize
in interface Parameterizable
- Parameters:
params
- The configuration parameters
executeJSP
public byte[] executeJSP(String url,
HttpServletRequest servletRequest,
HttpServletResponse servletResponse,
ServletContext context)
throws IOException,
ServletException,
Exception
- Execute the Servlet/JSP and return the output in UTF8 encoding.
- Specified by:
executeJSP
in interface JSPEngine
- Throws:
IOException
ServletException
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.