Multiple choice

What is the significance of HttpSessionActivateListener interface in servlet application package?

  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. Both (1) and (2)

  5. None of these

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

The HttpSessionActivateListener interface works for that.