• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion on httpSession listeners

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please clarify :
Which listeners do not reuire a <listener> entry in the DD.
HttpSessionBindingListener only? or HttpSessionActivationListener also?
I think for all others we need to give <listener> declaration in the DD like for HttpSessionAttributeListener and HttpSessionListener.

I am not sure ,please verify what is the exact answer?
 
vani venkat
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that's correct.
for HttpSessionActivationListener and HttpSessionBindingListener , it is not required to give listener entry in DD. But for other listeners, HttpSessionListener and HttpSessionAttributeListener it is mandatory.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic