Hi,
I also faced the same problem and following  is how i solved the
problem:

Path of my jdk1.2 is : "c:\jdk1.2". I put jsdk.jar file into the
directory "c:\jdk1.2\lib" and this path is in my CLASSPATH variable.
Othere wise put jsdk.jar file with "c:\jdk1.2\bin" as well.

Rajeev.



> -----Original Message-----
> From: Steck Andreas [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, March 13, 1999 11:54 AM
> To:   [EMAIL PROTECTED]
> Subject:      how to run a servlet
>
> Hi,
>
> I'm trying to leran programming JAVA-servlets. I have written the
> source
> code,
> but I don't know how to compile and to run it.
>
> The JDK1.2 says the following 3 errors
>
> 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
>                                                   ^
>
> Thanks in advance
>         Andi
>
> ______________________________________________________________________
> _____
> 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




**********************************************************************
The information contained within this document does not necessarily
express the views of ION Information Technology Limited.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.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
  • ... Steck Andreas
    • ... Lee Chor-Hock
    • ... Rajeev Arora
    • ... Steck Andreas
    • ... Rajeev Arora
    • ... V T R Ravi Kumar
    • ... Madhu Gopal Panyala
    • ... <John Thomas>
    • ... Shiva.Devaguptapu
      • ... anoop
        • ... Медер Бакиров

Reply via email to