如何在Spring中实例化非Action类第一个字母小写实在不行就这样调用。ApplicationContext context new Fil
如何在Spring中实例化非Action类
第一个字母小写
实在不行就这样调用。
ApplicationContext context = new FileSystemXmlApplicationContext("/WebRoot/WEB-INF/applicationContext.xml");
ServiceImpl wcs = (ServiceImpl) context.getBean("serviceImpl");
if(wcs != null){
}
