Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

listeners!

 
ashok khetan
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
******
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).]
 
Allan Moster
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
anders eriksson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...but isn't also option 3 correct? Doesn't a AttributeListener also get notified when a attribute is "implitcly" deleted and "implicitly" added by an unbinding and binding respectively?
/anders
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic