• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Where is my servlet.jar????

cantbprince

Senior member
i installed jakarta-tomcat-5.0.28 and j2sdk1.4.2_10. Most of the online tutorials i am finding are saying that the servlet.jar file is located under the tomcat dir under lib. However i don't have a lib directory under tomcat. I need to add the location to this file to the PATH so i can run javac from the command line.

Yes i know i suck... 🙂
 
I've got tomcat 5.5.15 here and there's a servlet-api.jar in tomcatdir/common/lib. It contains the servlet api (duh 😉), so I think that's what you want.

If that doesn't exist in your version, search all the subdirectories of tomcatdir for jars that start with "servlet". When you think you've got the right one, make a copy of it in a temporary directory, change it's extension to ".zip", unzip it and it should have class files for the api that you need. That'll just prove to you that you've got the right one, then add the original to your classpath.
 
Back
Top