ServletContextEvent
| Modifier and Type | Method and Description |
|---|---|
| public void | contextDestroyed(ServletContextEvent sce)
Notification that the servlet context is about to be shut down. |
| public void | contextInitialized(ServletContextEvent sce)
Notification that the web application initialization process is starting. |
| contextDestroyed | back to summary |
|---|---|
| public void contextDestroyed(ServletContextEvent sce) Notification that the servlet context is about to be shut down. All servlets have been destroy()ed before any ServletContextListeners are notified of context destruction. | |
| contextInitialized | back to summary |
|---|---|
| public void contextInitialized(ServletContextEvent sce) Notification that the web application initialization process is starting. All ServletContextListeners are notified of context initialisation before any filter or servlet in the web application is initialized. | |