虽然框架中一直都在运用Spring框架但是大都是在已经架构好的项目中运行

所以打算自己好好学习一遍

http://sishuok.com/forum/blogPost/list/2433.html

跟着框架学习一下

spring加载配置文件的几种方式与其场景

http://www.chineselinuxuniversity.net/articles/37680.shtml

http://blog.csdn.net/lwzcjd/article/details/3116759

http://sishuok.com/forum/blogPost/list/2428.html

按照ApplicationContextcontext=newClassPathXmlApplicationContext("helloworld.xml");

问题1:发现读取不到配置文件写了绝对路径倒是没有问题

问题2:Spring加载配置文件底层是用map的getvalue的方式实现getbean