spring框架下,在servlet中获取webapplication的context的方法 Leave a Comment / Java / August 20, 2008 August 20, 2008 WebApplicationContext ctx = WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext());