会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
用到,学到,乱涂乱画
我的学习工作心得;平时看到好的资料收集;
博客园
首页
新随笔
联系
订阅
管理
webwork和spring多配置文件的方法
webwork中只要在xwork.xml中包含其它配置文件即可,如:
<
include
file
="xwork-eduadmin.xml"
/>
<
include
file
="xwork-student.xml"
/>
<
include
file
="xwork-test.xml"
/>
spring多配置文件的话,只需要在web.xml文件按照如下定义:
<
context-param
>
<
param-name
>
contextConfigLocation
</
param-name
>
<
param-value
>
/WEB-INF/applicationcontext*.xml
</
param-value
>
</
context-param
>
则可实现applicationcontext开头的多配置文件。
posted @
2005-10-21 17:51
深夜
阅读(
2009
) 评论(
1
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告