1 <?xml version="1.0" encoding="UTF-8" ?>
 2 <!DOCTYPE struts PUBLIC
 3     "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
 4     "http://struts.apache.org/dtds/struts-2.0.dtd">
 5 
 6 <struts>
 7     <constant name="struts.devMode" value="true" />
 8 
 9     <!-- include file 就是模块包含 其相当于将login.xml整个复制到这个xml中 -->
10     <include file="login.xml" />
11 </struts>

尽量将公用的部分包含入一个xml文件中
posted on 2012-10-15 16:48  elleniou  阅读(176)  评论(0编辑  收藏  举报