Which listener interface is implemented to track session creation and destruction?
- HttpSessionListener
- ServletContextAttributeListener
- ServletContextListener
- ServletRequestListener
The HttpSessionListener interface is implemented to track session creation and destruction events in servlets.
Loading...
Related Quiz
- A web application requires users to log in for access. Which servlet feature should be implemented for this requirement?
- What is a 'Content Delivery Network (CDN)' and how does it relate to caching?
- What is the significance of the web.xml file in handling servlet errors?
- What is the scope of servlet initialization parameters?
- Servlets can use the _________ interface to log application-level events.