...
It is possible to load template from other locations, like the file system or a URL. Loading templates from alternate locations can be useful not only for tags, but for custom results. For details, see the FreeMarker documentation and consult the section on extending the FreeMarkerManager.
...
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 |
...