| org.apache.turbine.services.jsp.JspService
All known Subclasses: org.apache.turbine.services.jsp.TurbineJspService,
JspService | public interface JspService extends Service(Code) | | Implementations of the JspService interface.
author: John D. McNally version: $Id: JspService.java 534527 2007-05-02 16:10:59Z tv $ |
BUFFER_SIZE_DEFAULT | int BUFFER_SIZE_DEFAULT(Code) | | Default Value for Jsp Page Buffer Size
|
BUFFER_SIZE_KEY | String BUFFER_SIZE_KEY(Code) | | Property for Jsp Page Buffer Size
|
JSP_EXTENSION | String JSP_EXTENSION(Code) | | The default extension of JSPs
|
LINK | String LINK(Code) | | The key used to store an instance of JspLink in the request
|
RUNDATA | String RUNDATA(Code) | | The key used to store an instance of RunData in the request
|
SERVICE_NAME | String SERVICE_NAME(Code) | | The name used to specify this service in Turbine.properties
|
TEMPLATE_PATH_KEY | String TEMPLATE_PATH_KEY(Code) | | Property key for Template Pathes
|
addDefaultObjects | void addDefaultObjects(RunData data)(Code) | | Adds some convenience objects to the request. For example an instance
of JspLink which can be used to generate links to other templates.
Parameters: data - the turbine rundata object |
getDefaultBufferSize | int getDefaultBufferSize()(Code) | | Returns the default buffer size of the JspService
The default buffer size. |
getRelativeTemplateName | String getRelativeTemplateName(String template)(Code) | | Searchs for a template in the default.template path[s] and
returns the template name with a relative path which is required
by javax.servlet.RequestDispatcher
Parameters: template - The name of the template to search for. the template with a relative path |
handleRequest | void handleRequest(RunData data, String templateName, boolean isForward) throws TurbineException(Code) | | executes the JSP given by templateName.
Parameters: data - A RunData Object Parameters: templateName - The template to execute Parameters: isForward - whether to perform a forward or include. throws: TurbineException - If a problem occured while executing the JSP |
handleRequest | void handleRequest(RunData data, String templateName) throws TurbineException(Code) | | executes the JSP given by templateName.
Parameters: data - A RunData Object Parameters: templateName - The template to execute throws: TurbineException - If a problem occured while executing the JSP |
|
|