...
Templates are loaded based the template directory and theme name (see Selecting Themes). The template directory is defined by the action.ui.templateDir
property in struts.properties (defaults to template
). If a tag is using the ajax
theme, the following two locations will be searched (in this order):
...
The framework supports three template engines, which can be controlled by the struts.ui.templateSuffix
in struts.properties.
ftl (default) | FreeMarker-based template engine |
---|---|
vm | Velocity-based template engine |
jsp | JSP-based template engine |
...