首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

在web.xml中经过contextConfigLocation配置spring

2012-11-07 
在web.xml中通过contextConfigLocation配置spring如何在web.xml中配置contextConfigLocation的参数,即怎么

在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

热点排行