Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

As from Struts 2.3.28, the plugin automatically loads all Tiles definitions matching the following pattern {{tiles*.xml}} - you don't have to specify them via org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG in web.xml

Example

This example shows a Tiles layout page using Struts tags:

Wiki Markup
{snippet:url=struts2/apps/showcase/src/main/webapp/WEB-INF/tiles/layout.jsp|lang=xml}
Please check tiles example in struts-examples project.

...