Hi:
You could put the servlet.jar in the class path as well.
That should solve the problem.
Thanks
Saifi.
-----Original Message-----
From: Praveen Vootkuri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 02, 2000 8:39 PM
To: [EMAIL PROTECTED]
Subject: Trying to compile Servlets on Windows 98.
Hi,
I downloaded jsdk2.0. I started running Servletrunner. IT was successful.When I tried to compile Simpleservlet.java which is in C:\jsdk2.0\examples folder I am getting the folling errors. I tried with many other servers from vendors.
C:\JSDK2.0\examples>javac SimpleServlet.java
SimpleServlet.java:24: Package javax.servlet not found in import.
import javax.servlet.*;
^
SimpleServlet.java:25: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
SimpleServlet.java:32: Superclass HttpServlet of class SimpleServlet not fo
public class SimpleServlet extends HttpServlet
^
3 errors
THis is the path I set in the C:\autoexec.bat
PATH=C:\JSDK2.0\BIN;C:\WINDOWS\COMMAND;C:\JDK12~1.2\BIN;
CLASSPATH = C:\jsdk2.0\lib\jsdk.jar;C:\jdk1.2.2\lib\classes.zip;
I tried every thing that I know of but is not working.Could you please let me know what the problem is. Thanks in advance.
-Thank you.
