File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
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: 55

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: listener config in web.xml
 
Similar Threads
how to read config file when web service starts up
problem with spring security
web application listeners
Listener question
Doubt regarding HttpSessionListener