File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Configuring listenet element in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Configuring listenet element in web.xml" Watch "Configuring listenet element in web.xml" New topic
Author

Configuring listenet element in web.xml

Ken Sampson
Ranch Hand

Joined: Sep 26, 2007
Posts: 45
I have a confusion regarding configuring listener elemenets in web.xml when it comes to HttpSessionActivationListener, HttpSessionBindingListenr and HttpSessionAttributeListener. Some places that say that there is no need to register them in deployment descriptor while others say that reg. is not required only for HttpSessionBindingListener. Please let me which is correct.


Ken Sampson
abhishek pendkay
Ranch Hand

Joined: Jan 01, 2007
Posts: 184
HttpSessionActivationListener, HttpSessionBindingListenr are not supposed to be configured in the DD , but you have to configure SessionAttributeListener in the DD


The significant problems we face cannot be solved by the same level of thinking which created them – Einstein
SCJP 1.5, SCWCD, SCBCD in the making
Ken Sampson
Ranch Hand

Joined: Sep 26, 2007
Posts: 45
Thanks Abhishek!!!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Configuring listenet element in web.xml
 
Similar Threads
Problem with the Contextpath in the url
Drag and drop questions on the exam, is order important?
Restrict the URL Access in Servlets 2.2
Web context path is case-sensitive
how to catch compile-time exceptions w/out configuring web.xml