Satish Satish wrote:
>
> 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
Statish,

It seems that either you did not install JSDK or you have not set your
classpath correctly. It should include /path/to/jsdk/jsdk.jar

sven

--
Sven E. van 't Veer, llm.
Departamento de Desenvolvimento
Brasil Informatica.
http://www.brvip.com.br

___________________________________________________________________________
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