spring获取webapplicationcontext,applicationcontext几种方法详解
转载自:http://www.blogjava.net/Todd/archive/2010/04/22/295112.html
方法一:在初始化时保存ApplicationContext对象
代码:
ApplicationContext ac = new FileSystemXmlApplicationContext("applicationContext.xml");
ac.getB
转载
2013-05-29 17:46:33 ·
533 阅读 ·
0 评论