|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.services.jsp.TurbineJsp
public abstract class TurbineJsp
Facade class for the Jsp Service.
| Constructor Summary | |
|---|---|
TurbineJsp()
|
|
| Method Summary | |
|---|---|
static void |
addDefaultObjects(PipelineData pipelineData)
Adds some convenience objects to the request. |
static void |
addDefaultObjects(RunData data)
Deprecated. Use the PipelineData version. |
static int |
getDefaultBufferSize()
Returns the default buffer size of the JspService |
static java.lang.String |
getRelativeTemplateName(java.lang.String template)
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 |
protected static JspService |
getService()
Utility method for accessing the service implementation |
static void |
handleRequest(PipelineData pipelineData,
java.lang.String templateName)
executes the JSP given by templateName. |
static void |
handleRequest(PipelineData pipelineData,
java.lang.String templateName,
boolean isForward)
executes the JSP given by templateName. |
static void |
handleRequest(RunData data,
java.lang.String templateName)
Deprecated. Use the PipelineData version. |
static void |
handleRequest(RunData data,
java.lang.String templateName,
boolean isForward)
Deprecated. Use the PipelineData version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TurbineJsp()
| Method Detail |
|---|
protected static JspService getService()
public static void addDefaultObjects(RunData data)
data - the turbine rundata objectpublic static void addDefaultObjects(PipelineData pipelineData)
data - the turbine pipelinedData object
public static void handleRequest(RunData data,
java.lang.String templateName,
boolean isForward)
throws TurbineException
data - A RunData ObjecttemplateName - The template to executeisForward - whether to perform a forward or include.
TurbineException - If a problem occured while executing the JSP
public static void handleRequest(RunData data,
java.lang.String templateName)
throws TurbineException
data - A RunData ObjecttemplateName - The template to execute
TurbineException - If a problem occured while executing the JSP
public static void handleRequest(PipelineData pipelineData,
java.lang.String templateName,
boolean isForward)
throws TurbineException
data - A RunData ObjecttemplateName - The template to executeisForward - whether to perform a forward or include.
TurbineException - If a problem occured while executing the JSP
public static void handleRequest(PipelineData pipelineData,
java.lang.String templateName)
throws TurbineException
data - A RunData ObjecttemplateName - The template to execute
TurbineException - If a problem occured while executing the JSPpublic static int getDefaultBufferSize()
public static java.lang.String getRelativeTemplateName(java.lang.String template)
template - The name of the template to search for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||