The listener interface _________ is used to listen for request attribute changes.

  • EventListener
  • HttpSessionAttributeListener
  • ServletContextAttributeListener
  • ServletRequestAttributeListener
The correct answer is HttpSessionAttributeListener. This interface is used to listen for changes to attributes in a session, allowing developers to respond to attribute addition, removal, or replacement.
Add your answer
Loading...

Leave a comment

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