Which listener interface allows you to gather statistics about session usage in your web application?
- HttpSessionAttributeListener
- HttpSessionListener
- ServletContextAttributeListener
- ServletRequestAttributeListener
The HttpSessionListener interface allows you to gather statistics about session usage in your web application by tracking session creation and destruction events.
Loading...
Related Quiz
- The __________ and __________ are two major parts of JVM memory structure.
- The __________ interface is used to receive events about changes to the servlet context's attribute list.
- The __________ method is essential for managing user logouts in secure web applications.
- The annotation _________ is used to configure the endpoint of a WebSocket server.
- In servlets, the _________ mechanism is used to encrypt data transmitted over the network.