添加多个spring的xml文件

在web.xml 中配置如下:

<context-param>
 <param-name>contextConfigLocation</param-name>
 <param-value>
    classpath*:conf/spring/applicationContext_core*.xml,
    classpath*:conf/spring/applicationContext_dict*.xml,
    classpath*:conf/spring/applicationContext_hibernate.xml,
 </param-value>
</context-param> 

猜你喜欢

转载自zhougm1030.iteye.com/blog/2031784