Originally posted by Vaishali Joshi:
I think putting this up on the Sun's site would be a good idea.
The cause of confusion is that in the Servlet 2.3 Specification, the description for HttpSessionBindingListener excplitily says, "Causes an object to be notified when it is bound to or unbound from a session.
The object is notified by an HttpSessionBindingEvent object.This may be as a
result of a servlet programmer explicitly unbinding an attribute from a session,
due to a session being invalidated, or due to a session timing out.".
But it does not say so for HttpSessionAttributeListener.
Please do let us know what they say.