File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat  Servlet 2.3 Specification ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat  Servlet 2.3 Specification ?" Watch "Tomcat  Servlet 2.3 Specification ?" New topic
Author

Tomcat Servlet 2.3 Specification ?

Thomas Rochon
Ranch Hand

Joined: Jul 11, 2002
Posts: 72
Hi there !
I've got (maybe a stupid) question.
As far as I know follows Tomcat 4.0.3 the Servlet 2.3 Specification.
Now I'm working on a listener class where I have to import the interface (since PSecification 2.3)
"ServletContextAttributeEvent". I added the servlet.jar from the Tomcat 4.0.3 common/lib path into my project. But the compiler tells me that he couldn't resolve the Interface. Why ?!?
Doesn't the servlet.jar follow the servlet 2.3 specification ?
I would be happy to hear from you!
Thanks,
- Thomas -
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

do you have an older version of servlet.jar that is in your 'class finding path' *before* the newer one? So if you're using JBuilder for example, you'd have to remove (uncheck) any older Tomcat jars, since I'm not sure how you ensure order on the -classpath option that gets sent to javac.
Thomas Rochon
Ranch Hand

Joined: Jul 11, 2002
Posts: 72
Thank you very much for your reply, Mike !
I've checked everything proper.
This servet.jar is the only one I have
in my classpath. But after all I think
there's something wrong in my development tool
(it's connected with Tomcat and runs the applications on him).
I guess I have to look in that direction further...
O.k. - Thanks again, Mike !
Keep your fingers crossed, that I will find the mistake and solve the problem
Bye !
- Thomas -
[ August 07, 2002: Message edited by: Thomas Rochon ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Servlet 2.3 Specification ?
 
Similar Threads
Class JSPException, JSPTagException not found in tag library
Upgrade from JSP 1.2 to JSP 2.0
validateJarFile - Reg
Upgrade from Servlet 2.3 to Servlet 2.4
Schema difference