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 servlet compilation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet compilation" Watch "servlet compilation" New topic
Author

servlet compilation

syam
Greenhorn

Joined: May 06, 2001
Posts: 10
i had jsdk2.0 with me . but during the compilation an error is coming that class javax.servlet/http not found in import . i set the classpath as c:\jsdk2.0\lib\jsdk.jar also. even then iam getting the same problem . i will be thankful to u if u solve this one.
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
is coming that class javax.servlet/http not found in import .
>> r u importing javax.servlet.http.*? HttpServlet class is in
>>javax.servlet.http package.
>>it does'nt seem so. Can u check that please
karthik.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

True.
You need either servlet.jar or j2ee.jar or some other jar that includes the javax.servlet package in your classpath.
dave.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet compilation
 
Similar Threads
Tomcat........
prob. servlet compilation on RedHat9.0
problem setting jsdk2.0 classpath
How to solve this one
servletcompilation