Spring将多个配置文件引入一个配置文件中
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">

    <description>扩展的applicationContext文件列表</description>

    
    <!-- <import resource="ehcache/applicationContext-ehcache.xml" /> -->
    
    <import resource="cache/applicationContext-cache.xml" />
    
    <import resource="profile/applicationContext-profile.xml" />

    
    
</beans>

 

posted on 2016-09-12 11:11  james-roger  阅读(1722)  评论(0编辑  收藏  举报