Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Configuring listenet element in web.xml  RSS feed

 
Ken Sampson
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a confusion regarding configuring listener elemenets in web.xml when it comes to HttpSessionActivationListener, HttpSessionBindingListenr and HttpSessionAttributeListener. Some places that say that there is no need to register them in deployment descriptor while others say that reg. is not required only for HttpSessionBindingListener. Please let me which is correct.
 
abhishek pendkay
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HttpSessionActivationListener, HttpSessionBindingListenr are not supposed to be configured in the DD , but you have to configure SessionAttributeListener in the DD
 
Ken Sampson
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Abhishek!!!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!