1. Define the configuration file:
XML Version = "1.0" encoding = "ISO-8859-1"> definition> component-definitions >
2, configure web.xml:
action servlet-name> org.apache.struts.tiles.ActionComponentServlet servlet-class> definitions-config PARAM-NAME> /web-inf/tiledefinitions.xml param-value> init-param> ... servlet>
3. Configure struts-config.xml action>
Call a redirected Servlet Dofirst Access the specific template configured in TileDefinitions.xml.