Child pages
  • ajax head template

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Wiki Markup
{snippet:id=all|lang=xml|url=action2struts2/coreplugins/dojo/src/main/resources/template/ajax/head.ftl}

...

Note that Dojo is configured to use the same character encoding specified in struts.properties, typically UTF-8. For a simple example of how to use the head tag with the AJAX theme, simply do the following in your HTML:

Wiki Markup
{snippet:id=common-include|lang=xml|url=action2struts2/apps/showcase/src/main/webapp/ajax/commonInclude.jsp}
Info

The above sample is from Struts trunk; for 2.0.6 you should use <s:head debug="true"/>.