,ch14.9433 Page 455 Monday, February 14, 2005 12:55 PM
Suppose your application has two modules: the default module and an administra
tion module. The struts config admin.xml file, shown in Example 14 11 configures
the administration module.
Example 14 11. Struts configuration file for a module
" //Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://jakarta.apache.org/struts/dtds/struts config_1_2.dtd">
path="/doStartPage"
forward=".start"/>
value="/WEB INF/tiles defs admin.xml" />
You can specify the Tiles definitions used by the administration module in the
tiles defs admin.xml file shown in Example 14 12.
Example 14 12. Module specific Tiles definition file
" //Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles config_1_1.dtd">
Using Tiles in a Modular Application | 455
This is the Title of the Book, eMatter Edition
Copyright 2005 O'Reilly & Associates, Inc. All rights reserved.
footer
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved