Hi,
Set proper classpath. U should be having servlet.jar file somewhere within
u'r system. Set the classpath environment variable to point to the
servlet.jar file.

Bye,
   Cyril


>From: Joey A <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>         Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: New...
>Date: Fri, 16 Nov 2001 18:00:00 -0500
>
>Hi Guys,
>I've just started with developing Servlets and have no idea what is what
>:-(
>I just wrote a program and got the following errors:
>****************************************************************************************
>---------- Java Compiler ----------
>CSRandomQuote.java:28: Package javax.servlet not found in import.
>import javax.servlet.*;
>        ^
>CSRandomQuote.java:29: Package javax.servlet.http not found in import.
>import javax.servlet.http.*;
>        ^
>CSRandomQuote.java:33: Class com.coolservlets.randomquote.QuoteCollection
>not found in import.
>import com.coolservlets.randomquote.QuoteCollection;
>        ^
>CSRandomQuote.java:59: Superclass HttpServlet of class CSRandomQuote not
>found.
>public class CSRandomQuote extends HttpServlet {
>                                    ^
>**************************************************************************************
>4 errors
>Normal Termination
>Output completed (2 sec consumed).
>
>Can somebody tell me where's the error and how can I over come them?
>
>Thanx in advance from your new friend :-)
>
>Joey
>
>p.s.: what's the exact answer to this question?
>Which class does a servlet usually inherit from?


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

___________________________________________________________________________
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