org.springframework.web.context.ContextLoaderListener
或:
org.springframework.web.context.ContextLoaderServlet
通过如下方法取出applicationContext实例:
ApplicationContext ac=WebApplicationContextUtils.getWebApplicationContext(this.getServletContext);