• Post Reply Bookmark Topic Watch Topic
  • New Topic

which listener should not be registered in web.xml ?  RSS feed

 
hasan khan
Ranch Hand
Posts: 223
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to know out of 8 listeners which listeners are not required to be registered in web.xml ?

ServletRequestListener
ServletRequestAttributeListener
ServletContextListener
ServletContextAttributeListener
HttpSessionListener
HttpSessionAttributeListener
HttpSessionBindingListener
HttpSessoinActivationListener
 
Baiju Mehta
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to register HttpSessionBindingListener in web.xml file. I think this is the only one, if you find something else please post here.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!