Web.xml多个xml文件的加载

时间:2022-10-27 13:23:37

Web.xml多个xml文件的加载

<!-- 指定spring配置文件位置 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<!-- the following spring of configuration file path,case sensitive -->
<param-value>classpath:/spring-config/spring-context*.xml,/WEB-INF/classes/activiti.cfg.xml,/WEB-INF/classes/beans-activiti.xml</param-value>
</context-param>
<!-- 定义SPRING监听器,加载spring -->