The method attributeAdded belongs to the interface _________.

  • HttpSessionAttributeListener
  • HttpSessionListener
  • ServletContextListener
  • ServletRequestListener
The correct answer is HttpSessionAttributeListener. The attributeAdded method is part of this interface, which is used to receive notifications about the addition of attributes to a session.
Add your answer
Loading...

Leave a comment

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