Dana,
What I had to do was set the CLASSPATH to d:\<serverroot>\lib\servlet.jar
Then all of my servlets compile, but for me there is a problem with this.
In fact I just posted my problem, which is titled "Trouble Compiling Apps
and Servlets???".
Problem is that because there is a classpath variable set, now I can not run
any of my apps without clobering the class path for that particular dos
window. It seems as though there should be an answer. Maybe that is the
answer. Let me know how it turns out.
>From: "Breslau, Dana" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: setting up servlets
>Date: Tue, 26 Oct 1999 13:29:45 -0400
>
>Hello,
>
>I am just starting with Servlets... (at the installation phase.)
>
>I installed Java SDK onto my machine, and my server. I installed Java Web
>Server onto the server.
>
>I programmed heavily in Java 2 years ago, but have been away from it since.
>I can't seem to find the classes.zip file? Does that still exist?
>
>I copied a BasicServlet program out of a book I'm learning from. I wrote
>it, saved the file as BasicServlet.java then went to compile it (I went out
>to the command prompt, and typed "javac BasicServlet.java" The errors I
>get
>are for the servlet classes:
>
>javax.servlet not found in import
>javax.servlet.http not found in import.
>Superclass HttpServlet of class BasicServlet not found.
>
>How do I instantiate these packages?
>
>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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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