Instead of setting the classpath to server.jar , just set it to servlet.jar
files path...hope it works perfectly

Deepak

>From: Keith Ball <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: A simple problem.....
>Date: Mon, 4 Oct 1999 16:09:41 +0200
>
>Hello.
>
>Ok, I this is gonna be a very simple question.  What am I doing wrong
>here.........
>
>
>D:\Ballie\Project\servlets>javac SampleServlet.java
>SampleServlet.java:3: Package javax.servlet not found in import.
>import javax.servlet.*;
>        ^
>SampleServlet.java:4: Package javax.servlet.http not found in import.
>import javax.servlet.http.*;
>        ^
>SampleServlet.java:9: Superclass simple.HttpServlet of class
>simple.SampleServlet not found.
>public class SampleServlet extends HttpServlet
>                                    ^
>3 errors
>
>D:\Ballie\Project\servlets>set
>CLASSPATH=c:\jdk1.2.2\jsdk2.1\server.jar;d:\ballie\project\servlets\
>
>
>I apologise in advance in asking you such a silly Question.
>
>Keith
>
>---------------------------------------------------------------------------
>Keith Ball - Praktikant
>AF12 Operationelle  Analysen  Luftwaffe
>IABG MbH                 Einsteinstr. 20              85521 Ottobrunn
>Phone : 0049-89-6088-2556
>Email : [EMAIL PROTECTED]                         WWW site : www.iabg.de
>----------------------------------------------------------------------------
>

______________________________________________________
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