



























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开头的多配置文件。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。