| |
|
| org.apache.turbine.services.template.BaseTemplateEngineService org.apache.turbine.services.jsp.TurbineJspService
addDefaultObjects | public void addDefaultObjects(RunData data)(Code) | | Adds some convenience objects to the request. For example an instance
of TemplateLink which can be used to generate links to other templates.
Parameters: data - the turbine rundata object |
getDefaultBufferSize | public int getDefaultBufferSize()(Code) | | Returns the default buffer size of the JspService
The default buffer size. |
getRelativeTemplateName | public 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 - String |
handleRequest | public void handleRequest(RunData data, String templateName) throws TurbineException(Code) | | executes the JSP given by templateName.
Parameters: data - A RunData Object Parameters: templateName - the filename of the template. throws: TurbineException - Any exception thrown while processing will bewrapped into a TurbineException and rethrown. |
handleRequest | public 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 filename of the template. Parameters: isForward - whether to perform a forward or include. throws: TurbineException - Any exception trown while processing will bewrapped into a TurbineException and rethrown. |
init | public void init() throws InitializationException(Code) | | Load all configured components and initialize them. This is
a zero parameter variant which queries the Turbine Servlet
for its config.
throws: InitializationException - Something went wrong in the initstage |
templateExists | public boolean templateExists(String template)(Code) | | Determine whether a given template is available on the
configured template pathes.
Parameters: template - The name of the requested Template True if the template is available. |
|
|
|