I am a new on servlet programming, but i think your classpath is not
correct.

Mine is :

C:\MyDir\Java\jdk1.1.7B\lib;C:\MyDir\Java\Jsdk2.0\src

Try this (with right change) and forward me if it's OK.

Bye

Stephane.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of S.
Kenney
Sent: Thursday, September 02, 1999 8:51 AM
To: [EMAIL PROTECTED]
Subject: JDK1.1.8 and JSWDK1_0-win--First compile


Hello, fun seekers,
I have searched my servlet books and Listserv notes and I still cannot
resolve
my compile errors.  I have triple checked the classpath to be sure it is
correct.

My path includes  d:\jdk1.1.8\bin
My classpath is    d:\jswdk1.0\jswdk-1.0\lib\servlet.jar

My compile errors are the ever-popular import errors.  For example:
Package java.servlet not found in import
import java.servlet.*;

My compile command for a simple servlet is:
d:\jdk1.1.8\TTTSSrc>javac TttsServ.java

I do not get compile errors on the import statements for java.io.* or
java.util.*.

Can someone please tell me what is causing this compile error?

I have OReilly's book, Servlet Programming and Karl Moss's book, Java
Servlets--Second Edition.

___________________________________________________________________________
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

Reply via email to