Selecting Template Directory
Template directory can be selected using several different rules, in this order:
- The
templateDir
attribute on the specific tag - The page-scoped attribute named
templateDir
- The request-scoped attribute named
templateDir
- The session-scoped attribute named
templateDir
- The application-scoped attribute named
templateDir
- The
struts.ui.templateDir
property instruts.xml
(defaults to template)
Tips
- To change the template directory for the entire application, modify the
struts.xml