• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Invoking sequence of the listeners

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic