Add to your classpath c:\jswdk-1.0.1\lib\servlet.jar


                -----Original Message-----
                From:   Bala Paranj [mailto:[EMAIL PROTECTED]]
                Sent:   Wednesday, January 26, 2000 6:48 AM
                To:     [EMAIL PROTECTED]
                Subject:        JSWDK 1.0.1

                Hello,

                I installed JSWDK 1.0.1 on NT 4.0 service pack 5.

                1. I have added the full path of the JDK bin directory
(where the java
                command is located) to the PATH variable.

                2. Added the tools.jar file (in the JDK lib directory) file
to CLASSPATH
                variable.

                3. Set the JAVA_HOME variable to the location of the JDK
directory.

                4. CLASSPATH also has C:\jswdk-1.0.1\src (javax directory
location)

                When I try to compile, I get the following error messages.

                ShoppingServlet.java:3: Package javax.servlet not found in
import.
                import javax.servlet.*;
                       ^
                ShoppingServlet.java:4: Package javax.servlet.http not found
in import.
                import javax.servlet.http.*;
                       ^
                ShoppingServlet.java:7: Superclass HttpServlet of class
ShoppingServlet not
                foun
                d.
                public class ShoppingServlet extends HttpServlet {
                                                     ^
                3 errors

                What is wrong ? Can you please help.

                Thanks for your time,
                Bala


___________________________________________________________________________
                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

___________________________________________________________________________
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