Joey,
What is the command line that you are using to compile or are you using an IDE?
It appears that you don't have the servlet.jar in the classpath that the
compiler is using to compile your file. You might want to use the
-classpath <path_to_servlet.jar and the jar file that contains the
com.coolservlets package> as part of your command line.
Regards,
Richard
At 06:00 PM 11/16/2001 -0500, you wrote:
>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?
___________________________________________________________________________
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