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