Thanks for everyone's help.
Basically, I'm not sure what the exact error was since I've spent the day
changing little lines everywhere, but in the end what I did was:
1. uninstall everything and re-install... so I know I was starting fresh
2. I installed the Java SDK (which was only jdk1.2.2) and also installed the
JSWDK 1.0.1 (I didn't realize I needed both of these at first)
3. I set my CLASSPATH to point directly to the tools.jar file and the
servlet.jar file
Here I think was the clincher... NT, environment variables are read
different on system or user, right now I have CLASSPATH defined in both, not
sure which is the right one, but why mess with a working program?
Thanks for your help.
-dlb
-----Original Message-----
From: brian waller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 26, 1999 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up servlets
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
___________________________________________________________________________
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