代码获取Spring注入的对象appContext WebApplicationContextUtils.getRequiredWebApplicationContext(se
代码获取Spring注入的对象
appContext = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
代码获取Spring注入的对象
appContext = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);