日期:2014-05-16 浏览次数:20278 次
ApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(request.getSession().getServletContext()); net.xxx.xxx.xx.service.XXService xService = (net.xxx.xxx.xx.service.XXServicee)ctx.getBean("xService");