Multiple choice

What is the significance of HttpSessionAttributeListener interface?

  1. The class implementing this interface determines the notification about the sessions.

  2. The class implementing this interface determines the notification of changes to the HttpSession object's attribute.

  3. This interface defines a session specific to the user requesting the servlet.

  4. Option 1 and 2

  5. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is correct about HttpSessionAttributeListener interface.