I think the right package name is:
javax.servlet.*


Klaus

-----Original Message-----
From: S. Kenney [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 02, 1999 3:51 PM
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