ServletContext ServletContextListener 监听器有contextInitialized 和contextDestroyed 两个方法。 ServletContext 容器 用来保存上下午数据,如数据字典,spring 就是基于此