Hi! Which interface should be implemented by a class so that it's objects may receive notifications when they are put or removed from HttpSession? The answer is HttpSessionBingdingListener. What is de difference between HttpSessionAttributeListener and HttpSessionBingdingListener? Thank you in advance.
Hi Jordi HttpSessionBindingListener has methods valueBound(HttpSessionBindingEvent) valueUnbound(HttpSessionBindingEvent) So whenever an obj is being bound to a session, the notification comes thru this method.Similarly valueUnbound notifies if obj is unbound frm session. faiza
Hi, I am just starting with this listener stuff. So I might be wrong. Jordi: bind-bound-bound is like atar in my rusty spanish (you have a very catalan name). An object is bound (atado) to a session). The important part of the question is: it's objects may receive notifications . HttpSessionBindingListener is implemented by the object which is bound to the session. HttpSessionAttributeListener listens globally about if an attribute has been removed or added from all the sessions. Axel