File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Cannot find ServletContextListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cannot find ServletContextListener" Watch "Cannot find ServletContextListener" New topic

Cannot find ServletContextListener

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I downloaded the Servlet Jar from SUn but it is not in there... Where is it?
Says it should be in javax.servlet.ServletContextListener
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300

That's where it is at for me. Are you getting an error message at compile time/runtime? What's going on? Give us some more information about your problem.

GenRocket - Experts at Building Test Data
Ken Robinson
Ranch Hand

Joined: Dec 23, 2003
Posts: 101
Make sure you have v2.3 or 2.4. In 2.2 this was not available.
Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
Thanks. I did indeed have 2.2 and not 2.3
subject: Cannot find ServletContextListener