• Post Reply Bookmark Topic Watch Topic
  • New Topic

listeners in web.xml

 
Dan Murphy
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can someone tell me whether HttpSessionBindingListener is the only listener type which does not have to be configured in the <listener> section of web.xml?

Specifically, I'm not sure whether a HttpSessionActivationListener needs to be listed in web.xml.


Cheers,
Dan
 
Saurabh Chaubey
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dan,

A HttpSessionActivationListener does not need to be listed in the web.xml

Regards,
Saurabh
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.coderanch.com/t/171806/java-Web-Component-SCWCD/certification/Which-Listeners-mandatory-web-xml
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!