...
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.impldefinition.BasicTilesContainerDefinitionsFactory.DEFINITIONS_CONFIG in web.xml , but you can use this option if your application is going to work in restricted servlet environment e.g. Google AppEngine. In such case, defintions will be read from provided init-param. |
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.
...