aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes listener config in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "listener config in web.xml" Watch "listener config in web.xml" New topic
Author

listener config in web.xml

Yasir Karim
Greenhorn

Joined: Jul 21, 2011
Posts: 17

Referring to all the listeners related to Servlet, it is a must to configure those in web.xml? Is there any listener that is not required to be configured in web.xml?

Cheers


I see the truth in the code.
Ankur Gargg
Ranch Hand

Joined: Sep 11, 2011
Posts: 47

Two listeneres need not be configured in web.xml namely HttpSessionBindingListener and HttpSessionActivationListener.



Yasir Karim
Greenhorn

Joined: Jul 21, 2011
Posts: 17

Thanks. But how does the container know that these are the listeners interested in listening for some events?
 
 
subject: listener config in web.xml
 
Threads others viewed
Listener question
how to read config file when web service starts up
Doubt regarding HttpSessionListener
web application listeners
problem with spring security
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture