|
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. |
- Re: Trying to compile Servlets on Windows 98. Praveen Vootkuri
- Re: Trying to compile Servlets on Windows 98. Nick Sotiropoulos
- Re: Trying to compile Servlets on Windows 98. Yvan douenel
- Re: Trying to compile Servlets on Windows 98. Saifi ,Khan (CTS)
- Re: Trying to compile Servlets on Windows 98. Galbreath, Mark
- Re: Trying to compile Servlets on Windows 98. Peet DENNY
