在web.xml中通过contextConfigLocation配置spring

<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>

posted @ 2019-04-24 14:09  DarJeely  阅读(334)  评论(0编辑  收藏  举报