struts2中配置多个struts.xml配置文件
来源:互联网 发布:云熙家具软件 编辑:程序博客网 时间:2024/05/17 09:20
一般来说我们在做开发的时候,是一个团队,我们可能会按照人来分不同的模块,每个人维护自己不同的struts配置文件,但在最后整合的时候,一定要把各人所用到的配置文件都整合进来,这里有一个方法,用是在你写的主要的配置文件中把别的配置文件导进来,
在struts.xml中加入下面的文字就可以解决了
<include file="struts-default.xml">
< include file="struts_helei.xml" />
<include file="struts_zou.xml" /><include file="struts-default.xml">
<include file="struts_helei.xml"><include file="struts_zou.xml"><include file="struts-default.xml">
<include file="struts_helei.xml">
<include file="struts_zou.xml"></include></include></include></include></include></include><include file="struts-default.xml">
<include file="struts_helei.xml">
<include file="struts_zou.xml"></include></include>
</include><include file="struts_mu.xml"></include>
- struts2中配置多个struts.xml配置文件
- Struts2中如何加载多个struts.xml配置文件
- Struts中使用多个xml配置文件
- Struts中使用多个xml配置文件
- Struts2中struts.xml配置文件,result配置详解
- struts2.0中如何将struts.xml文件分成多个配置文件
- Struts中使用多个配置文件 struts-config.xml
- Struts2的配置文件的配置struts.xml
- 配置struts2的配置文件struts.xml
- struts2.3.24用web.xml配置多个struts.xml
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- struts2.0中struts.xml配置文件详解
- utf8编码表
- C++函数参数传递与返回值优化技巧
- 手机开发实战42——手机功能分类
- Android 6.0 动态权限申请
- 手机开发实战43——手机字符编码介绍1
- struts2中配置多个struts.xml配置文件
- redis全量复制和部分复制简介
- Problem-S
- Bilinear图像修复
- 手机开发实战44——手机字符编码介绍2
- Ubuntu Android Studio快捷方式创建
- c++作业-6
- 图像的侵蚀处理
- 替代图片+文字按钮问题