| java.lang.Object org.apache.turbine.services.jsp.TurbineJsp
TurbineJsp | abstract public class TurbineJsp (Code) | | Facade class for the Jsp Service.
author: Henning P. Schmiedehausen version: $Id: TurbineJsp.java 534527 2007-05-02 16:10:59Z tv $ |
addDefaultObjects | public static 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 | public static int getDefaultBufferSize()(Code) | | Returns the default buffer size of the JspService
The default buffer size. |
getRelativeTemplateName | public static 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 |
getService | protected static JspService getService()(Code) | | Utility method for accessing the service
implementation
a JspService implementation instance |
handleRequest | public static 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 | public static 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 |
|
|