The imports, as they come with jswdk1.0.1, are wrong.

Should be:

import javax.servlet.*;
import javax.servlet.http.*;

Delete the java.servlet.*

Kev

----Original Message Follows----
From: David Parker <[EMAIL PROTECTED]>


The servlet engine comes up fine.
But I'm not able to complie any of the sample servlets
E:\jsdk2.1\examples\servlets>javac  -classpath
E:\jsdk2.1\servlet.jar   CookieExample.java
CookieExample.java:2: Package java.servlet not found in import.
import java.servlet.*;

______________________________________________________
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

Reply via email to