Very Simple. There is no class as Servlet it is HttpServlet.

regards,
Jiger


>From: "<Shivashis Bose>" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Problems in setting up JSDK2.1
>Date: Tue, 6 Jun 2000 15:38:38 -0400
>
>Hi
>
>I just installed JDK1.3 and JSDK2.1. I have added the following to the PATH
>variable to C:/JDK1.3/bin;C:/JSDK2.1
>and the CLASSPATH  to C:/JDK1.3/lib/tools.jar
>
>But when I compile the servlet code, I get the following error messages
>
>import javax.servlet.*;
>^
>Hello.java:5: package javax.servlet.http does not exist
>import javax.servlet.http.*;
>^
>Hello.java:7: cannot resolve symbol
>symbol  : class Servlet
>location: class Hello
>public class Hello extends Servlet
>
>
>Let me know urgently if some additional parameters are to be set.
>
>Thanks in advance
>Shivashis
>
>___________________________________________________________________________
>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 E-mail from MSN Hotmail 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