spring基于xml导入配置文件

spring基于xml导入配置文件

在原先的bean的xml配置文件导入另外的bean xml配置文件,都受同一个IOC容器的管理及配置

用法

<!--导入bean1.xml文件的内容--> 
<import resource="bean1.xml" />
记得快乐
原文地址:https://www.cnblogs.com/Y-wee/p/13821255.html