1. Added in Web.xml
2. Added in struts-config.xml files
Plug-in>
3. New TILES-Defs.xml
XML Version = "1.0" Encoding = "UTF-8"?>
. . . . Definition>
. . . . . Tiles-definitions>
4. Establish a template file
To use the template
XXX If it is unified (templated), XXX is consistent with the NAME of the Tiles-Defs.xml file.
GGG If it is personalized (each page) corresponds to the PUT of this template file in the future
5. Establish a JSP page using a template file
The GGG corresponds to the Name in INSERT in the template file. You can uniquely determine the position of the PUT in the page.
* Note:
In Tiles-Defs.xml, you can directly define the included files such as head or bottom information such as head or bottom information.
Use the PUT tag.
Tiles: PUT has two types (types)
Page in one page
String string
. . . .
If there is an incorrect place, please refer to