check the faq, and search the archive.  this question has been answered a
million times.  here is million and 1:  your compiler doesn't know where to
find servlet.jar, so you need to tell it where it is.  check out CLASSPATH..

bradley mclain

>From: neeraj koul <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Date: Mon, 20 Mar 2000 17:47:28 -0600
>
>Hi,
>
>I have downloaded jswdk-1.0.1 from sun site. Following the directions in
>FAQ.html i created an application for testing servlets
>On trying to compile it is unable to loacte even the basic files.The trace
>is
>
>vincent% javac HelloWorldExample.java
>HelloWorldExample.java:8: Package javax.servlet not found in import.
>import javax.servlet.*;
>        ^
>HelloWorldExample.java:9: Package javax.servlet.http not found in import.
>import javax.servlet.http.*;
>        ^
>HelloWorldExample.java:17: Superclass HttpServlet of class
>HelloWorldExample not found.
>public class HelloWorldExample extends HttpServlet {
>
>
>I have included the java/lib/classes.zip in the CLASSPATH.
>Can somebody please give me directions
>Any help would really be appreciated
>  I am on a alpha machine( OSF1). I have downloaded jswdk-1.0.1 and java
>1.0.2 JDK.
>
>Regards
>Neeraj Koul
>
>___________________________________________________________________________
>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

Reply via email to