1. 例如:在src的目录下又多创建了一个配置文件,现在是两个核心的配置文件,那么加载这两个配置文件的方式有两种!
* 主配置文件中包含其他的配置文件:
<import resource="applicationContext2.xml"/> * 工厂创建的时候直接加载多个配置文件:
ApplicationContext applicationContext = new ClassPathXmlApplicationContext(
"applicationContext.xml","applicationContext2.xml");

最新文章

  1. ios系统(苹果手机)按钮显示为圆角和渐变的问题
  2. 基于Redis、Storm的实时数据查询实践
  3. poj3263 Tallest Cow
  4. Spring配置文件解析--bean属性
  5. android中的所谓观察者模式
  6. Spring优势
  7. LeetCode41 First Missing Positive
  8. c# 刻度:毫米 英寸 像素转换
  9. Annotation【转】
  10. DataGridView几个基本属性
  11. python中的pth文件作用
  12. What is SaaS?
  13. what oop ?
  14. css3 animation动画事件
  15. Java NIO系列教程(三) Buffer(转)
  16. jquery实现链接的title快速出现
  17. Python_字符串检测与压缩
  18. Vue-computed的set和get
  19. 微服务ServiceMesh及三种模式介绍
  20. OpenCV——反向投影(定位模板图像在输入图像中的位置)

热门文章

  1. 第10章 线程控制(5)_多线程下的fork
  2. Install hadoop on windows(non-virtual machine, such cygwin)
  3. Memcached缓存框架
  4. Static / Const 的概念
  5. 开启saltstack的web界面
  6. 53. sql2005“备份集中的数据库备份与现有的xx数据库不同”解决方法
  7. mysql 5.7新特新 操作json 数组
  8. Select Case 的简单实现
  9. 机器学习入门-Knn算法
  10. License 校验