您的位置:首页 > 编程语言 > Java开发

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

2016-09-12 11:11 375 查看
<?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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: