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 in struts.properties (defaults to template)
Tips
- To support user-selected "shttp://confluence.twdata.org/pages/editpage.action?pageId=723#
Wiki Markupkins", override the template directory in the user's session.
- To change the template directory for the entire application, modify the struts.properties.