• Post Reply Bookmark Topic Watch Topic
  • New Topic

Listeners and context param  RSS feed

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HOw can HttpSessionAttributeListener and httpSessionBindingListener be used to get values from <context-param> elements?
Is it possible through HttpSesionbindingEvent?
 
Mateus Lucio
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the listener methods of an HttpSessionAttributeListener or HttpSessionBindingListener takes a HttpSessionBindingEvent object
This event object gives you access to an HttpSession object and then to your ServletContext object.




  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!