首页 > 编程语言 > 详细

Spring将多个配置文件引入一个配置文件中

时间:2016-09-12 12:25:01      阅读:245      评论:0      收藏:0      [点我收藏+]
<?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>

 

Spring将多个配置文件引入一个配置文件中

原文:http://www.cnblogs.com/james-roger/p/5864075.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!