you need to install servlet.jar and put a reference to it in your server
classpath..
download the jswdk from sun. it will have the appropriate jar file in it.
bradley mclain
>From: Satish Satish <[EMAIL PROTECTED]>
>Reply-To: Satish Satish <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: How to run servlets
>Date: Fri, 17 Mar 2000 11:33:13 -0800
>
>Hi all:
> I have downloaded the Tomcat software, it is running okay.
> (1) Is there anything else to be configured.
>
> (2) how to run the servlets ?
>
>
> (3)I have written a simple hello world servlet, but when I compile it
>gives
>errors as mentioned below:
>
> HelloWorld.java:2: Package javax.servlet not found in import.
>import javax.servlet.*;
> ^
>HelloWorld.java:3: Package javax.servlet.http not found in import.
>import javax.servlet.http.*;
> ^
>HelloWorld.java:5: Superclass HttpServlet of class HelloWorld not found.
>public class HelloWorld extends HttpServlet {
> ^
>3 errors
>
>Need some help here
>
>Thanks
>
>-Satish
>
>___________________________________________________________________________
>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