struts 模块化
1 <struts> 2 <!-- 包含了三个配置文件 --> 3 <!-- 不指定路径默认在src下时的方式 --> 4 <include file="struts-shop.xml"/> 5 <include file="struts-user.xml"/> 6 <!-- 配置文件在具体包中时的方式 --> 7 <include file="cn/itcast/action/struts-produce.xml"/> 8 </struts>
1 <struts> 2 <!-- 包含了三个配置文件 --> 3 <!-- 不指定路径默认在src下时的方式 --> 4 <include file="struts-shop.xml"/> 5 <include file="struts-user.xml"/> 6 <!-- 配置文件在具体包中时的方式 --> 7 <include file="cn/itcast/action/struts-produce.xml"/> 8 </struts>