File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
javax.servlet. Not Found
Joined: Jul 13, 2002
Jul 13, 2002 00:42:00
I have jsdk,
Dev kit and
. My jsp are compiling well. but i get error while compiling
Error is :
package javax.servlet.* does not exist
author and deputy
Joined: Jul 13, 2001
Jul 13, 2002 07:58:00
Try to put servlet jar files in ur classpath.u can find servlet.jar and jasper.jar in tomcat-home/lib directory add them to ur classpath.Also add tools.jar from jdk to ur classpath.
This all helps for compiling ur servlets.
Spritle Software Blogs
Joined: Nov 06, 2000
Jul 13, 2002 11:49:00
If you are still having problems, try putting servlet.jar in jdkdirectory\jre\lib\ext
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: javax.servlet. Not Found
problem in import
Compilation Error - package javax.servlet does not exist
servlet compilation error.
error in the source file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014