Class JspTemplateEngine
java.lang.Object
org.apache.struts2.components.template.BaseTemplateEngine
org.apache.struts2.components.template.JspTemplateEngine
- All Implemented Interfaces:
TemplateEngine
JSP based template engine.
-
Field Summary
Fields inherited from class org.apache.struts2.components.template.BaseTemplateEngine
DEFAULT_THEME_PROPERTIES_FILE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
void
renderTemplate
(TemplateRenderingContext templateContext) Renders the templatevoid
setEncoding
(String encoding) Methods inherited from class org.apache.struts2.components.template.BaseTemplateEngine
getFinalTemplateName, getThemePropertiesFileName, getThemeProps
-
Constructor Details
-
JspTemplateEngine
public JspTemplateEngine()
-
-
Method Details
-
setEncoding
-
renderTemplate
Description copied from interface:TemplateEngine
Renders the template- Parameters:
templateContext
- context for the given template.- Throws:
Exception
- is thrown if there is a failure when rendering.
-
getSuffix
- Specified by:
getSuffix
in classBaseTemplateEngine
-