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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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

static final String ROLE
Method Detail

executeJSP

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-2010 The Apache Software Foundation. All Rights Reserved.