读书人

在web.xml中经过contextConfigLocatio

发布时间: 2012-11-07 09:56:10 作者: rapoo

在web.xml中通过contextConfigLocation配置spring
如何在web.xml中配置contextConfigLocation的参数,即怎么来配置在classpath中的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,
classpath*:conf/spring/applicationContext_staff*.xml,
classpath*:conf/spring/applicationContext_security.xml
classpath*:conf/spring/applicationContext_modules*.xml
classpath*:conf/spring/applicationContext_cti*.xml
classpath*:conf/spring/applicationContext_apm*.xml
</param-value>
</context-param>

From: http://gwj41.iteye.com/blog/538578

读书人网 >Web前端

热点推荐