53. Les listeners du contexte Void contextDestroyed (ServletContextEvent sce) Notification that the servlet context is about to be shut down . void contextInitialized (ServletContextEvent sce) Notification that the web application is ready to process requests. ServletContextListener void attributeAdded (ServletContextAttributeEvent scab) Notification that a new attribute was added to the servlet context. void attributeRemoved (ServletContextAttributeEvent scab) Notification that an existing attribute has been remved from the servlet context . void attributeReplaced (ServletContextAttributeEvent scab) Notification that an attribute on the servlet context has been replaced. ServletContextAttributeListener
54. Les listeners de session Void sessionCreated (HttpSessionEvent se) Notification that a session was created. void sessionDestroyed (HttpSessionEvent se) Notification that a session was invalidated. HttpSessionListener void attributeAdded (HttpSessionBindingEvent se) Notification that an attribute has been added to a session . void attributeRemoved (HttpSessionBindingEvent se) Notification that an attribute has been removed from a session. void attributeReplaced (HttpSessionBindingEvent se) Notification that an attribute has been replaced in a session. HttpSessionAttributeListener