What is the use of HttpSessionBindingListener in the context of servlets?

  • To listen for changes in the session attributes
  • To listen for changes in the session creation
  • To listen for changes in the session destruction
  • To listen for changes in the session timeout
The HttpSessionBindingListener is used to listen for changes in the session attributes and is notified when an attribute is added, removed, or replaced in the HttpSession object.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *