Selecting Template Directory
Template directory can be selected using several different rules, in this order:
- The
templateDirattribute 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.templateDirproperty instruts.xml(defaults to template)
Tips
- To change the template directory for the entire application, modify the
struts.xml