摘要: 转载:https://www.cnblogs.com/hljmly/articles/5442778.html spring加载bean的方法 用spring的时候,需要一个applicationContext.xml文件,放到工程目录src下,每次我想获得这个xml文件里的bean的时候,就要这样 阅读全文
posted @ 2018-02-13 14:36 SpringMVCMaven 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 转载 http://blog.csdn.net/u013684110/article/details/51851850 首先Web项目使用Spring是通过在web.xml里面配置<br>org.springframework.web.context.ContextLoaderListener初始化 阅读全文
posted @ 2018-02-13 11:35 SpringMVCMaven 阅读(222) 评论(0) 推荐(0) 编辑