Hi Bala,
I think the CLASSPATH caused the error. What you
should do is typing full path for each servlet.jar and
jspengine.jar.
try it!
mike

--- Bala Paranj <[EMAIL PROTECTED]> wrote:
> 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
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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

Reply via email to