Just a comment:
These are questions I had when I first started programming servlets. And
the documentation still SUCKS. This is why we get all these elementary
questions about "why my script won't run" here.
Isn't there anybody at Sun who knows how to write technical documentation
that programmers can understand? And let me offer a caveat here:
programmers do not write documentation; technical writers do.
mark
-----Original Message-----
From: Saifi ,Khan (CTS)
To: [EMAIL PROTECTED]
Sent: 2/2/00 1:07 PM
Subject: Re: Trying to compile Servlets on Windows 98.
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]
<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.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html