天天看点

手工获取Spring管理的Bean

ApplicationContext content = WebApplicationContextUtils.getWebApplicationContext(request.getSession().getServletContext());