Apache Struts 2 Documentation > Home > FAQs > Can I change templateSuffix on a per-page basis |
The templateSuffix variable controls which templating engine is used to render a page. To change the engine for a particular page, change the value of the templateSuffix variable.
<s:set name="templateSuffix" value="'vm'" />
<s:set name="templateSuffix" value="'jsp'" />
Freemarker is the default templating engine
<s:set name="templateSuffix" value="'ftk'" />
See also Template Loading.