• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking sequence of the listeners

 
David Jones
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Could anyone tell me the invoking sequence of the listeners on the session by the Container :

Case 1 : if an new attribute is added to the session
1) HttpSessionAttributeListeners.attributeAdded
2) HttpSessionBindingListeners.valueBound

Case 2 : if the attribute is already exist in the session
1) HttpSessionAttributeListeners.attributeReplaced
2) HttpSessionBindingListeners.valueUnBound
3) HttpSessionBindingListeners.valueBound

Case 3 : if the attribute is remove from the session
1) HttpSessionAttributeListeners.attributeRemoved
2) HttpSessionBindingListeners.valueUnBound

Am I right?

Thanks
David
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic