
Explanation/Reference:
Explanation:
TheHttpSessionBindingEvent class extends the HttpSessionEvent class.
The HttpSessionBindingEvent class is used with the following listeners:
HttpSessionBindingListener: It notifies the attribute when it is bound or unbound from a session.
HttpSessionAttributeListener: It notifies the class when an attribute is bound, unbound, or replaced in a session.
The session binds the object by a call to the HttpSession.setAttribute() method and unbinds the object by a call to the HttpSession.removeAttribute() method.
HttpSessionEvent is a class that is used with the following listeners:
HttpSessionListener: It notifies the class when a session is created or destroyed.
HttpSessionActivationListener: It notifies the attributes when a session is activated orpassivated.