摘要:
1、ApplicationContext ac= WebApplicationContextUtils.getRequiredWebApplicationContext(request.getSession() .getServletContext()); BeanFactory bf = (BeanFactory)ac; userPowerService = (UserPowerService)bf.getBean("userPowerService");2、ApplicationContext acx = new FileSystemXmlApplicationCont 阅读全文