For an e-commerce application that needs to track user session activity and attribute changes, what combination of listeners would be ideal?
- HttpSessionAttributeListener
- HttpSessionListener
- ServletContextListener
- ServletRequestListener
The ideal combination for tracking user session activity and attribute changes in an e-commerce application is to use HttpSessionListener and HttpSessionAttributeListener together.
Loading...
Related Quiz
- To respond to events like the initialization or destruction of the ServletContext, use the _________ listener.
- What is the best practice for handling sensitive data in servlet log files?
- For an application that needs to authenticate users based on roles, what is the best approach to implement this in servlets?
- If an SQL exception occurs in a method that performs multiple database updates, how should the exception be handled to maintain data integrity?
- The __________ area in JVM memory is used to store per-class structures.