****** I think the correct answer should be 4). Correct me if i am wrong. ashok. I'm not sure where you got that question but, it looked an awful lot like one I recieved on my exam. DO NOT post actual questions [This message has been edited by Carl Trusiak (edited November 02, 2001).]
You're right! HttpSessionBindingListener 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 die to a session timing out.