取得Spring的IOC容器

获得Spring的IOC容器ApplicationContext ctx WebApplicationContextUtils.getWebApplicationContext(req

获得Spring的IOC容器

 ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext())

?