org.apache.cocoon.components.jsp
Interface JSPEngine

All Known Implementing Classes:
JSPEngineImpl, JSPEngineImplNamedDispatcherInclude, JSPEngineImplWLS

public interface JSPEngine

A component for loading and running Servlets and JSPs.

Version:
CVS $Id: JSPEngine.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Davanum Srinivas

Field Summary
static String ROLE
           
 
Method Summary
 byte[] executeJSP(String url, HttpServletRequest request, HttpServletResponse response, ServletContext context)
          Execute the Servlet/JSP and return the output.
 

Field Detail

ROLE

public static final String ROLE
Method Detail

executeJSP

public byte[] executeJSP(String url,
                         HttpServletRequest request,
                         HttpServletResponse response,
                         ServletContext context)
                  throws IOException,
                         ServletException,
                         Exception
Execute the Servlet/JSP and return the output. Output of the JSPEngine must be in UTF8 encoding.

Throws:
IOException
ServletException
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.