Servlet Life-Cycle Events
Object | Event | Listener Interface and Event Class |
Web context (see Accessing the Web Context) | Initialization and destruction | |
Attribute added, removed, or replaced | ||
Session (See Maintaining Client State) | Creation, invalidation, activation, passivation, and timeout | javax.servlet.http.HttpSessionListener, javax.servlet.http.HttpSessionActivationListener, and |
Attribute added, removed, or replaced | ||
Request | A servlet request has started being processed by web components | |
Attribute added, removed, or replaced |
No comments:
Post a Comment