摘要: 1、ApplicationContext ac= WebApplicationContextUtils.getRequiredWebApplicationContext(request.getSession() .getServletContext()); BeanFactory bf = (BeanFactory)ac; userPowerService = (UserPowerService)bf.getBean("userPowerService");2、ApplicationContext acx = new FileSystemXmlApplicationCont 阅读全文
posted @ 2012-07-03 15:41 狼里格朗 阅读(282) 评论(0) 推荐(0) 编辑