public class JSPProcessor extends Object
JSPProcessor
class executes JSP Component Presentations by
performing dynamic includes. This JSP Component Presentations should be located
in a subdirectory of the documentroot for this dynamic include to work.Constructor and Description |
---|
JSPProcessor(JSPPage page)
Creates a new instance.
|
JSPProcessor(javax.servlet.ServletContext servletContext,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getRelativePath(String documentRootPath,
String absComponentPath) |
void |
run(JSPComponentPresentation componentPresentation)
Executes a JSP Component Presentation by doing a dynamic include.
|
public JSPProcessor(JSPPage page)
page
- The JSPPage instance which is used to get access to the servlet variables, like
pageContext, request, response, etc.public JSPProcessor(javax.servlet.ServletContext servletContext, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
servletContext
- The Servlet's ServletContext.request
- The Servlet' ServletRequest.response
- The Servlet' ServletResponse.public void run(JSPComponentPresentation componentPresentation)
componentPresentation
- The JSP Component Presentation that needs to be executed.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries