Can anyone please tell about the difference between HttpSessionAttributeListener and HttpSessionBindingListener?
I checked in Head First
Servlet Servlet and
JSP. It tells
"A plain old HttpSessionAttributeListener is just a class that wants to know when any type of attribute has been added, removed or replaced in a Session. But the HttpSessionBindingListener exist so that the attribute itself can find out what when it has been added to or removed from Session."
Does it mean that HttpSessionAttributeListener tell about any attribute. While HttpSessionBindingListener gives information about attribute itself NOT any other attribute?
Is my understanding right?
Please help me for above concepts.
Thanks Jay.