Why don't u try put servlet.jar in the IDE lib directory u are using It will
compile
In Jbuilder u have to add the servlet.jar throught Default properties - the
same way as u add a different version of jdk
Faisal Abdallah
----- Original Message -----
From: "Arora Monika" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 9:55 PM
Subject: Compilation problem


> Hi,
>   When I complile my servlets fro DOS, they get compiled.  But if I do
same
> with vcafe or jbuilder, I can't compile. It says:
>
> Error: C:\Servlets\MyServlet1.java(2):  Package javax.servlet not found in
> import.
> import javax.servlet.*;
>        ^
> Error: C:\Servlets\MyServlet1.java(9):  Superclass GenericServlet of class
> MyServlet1 not found.
> public class MyServlet1 extends GenericServlet {
>
> Thanks,
> Monika.
>
>
___________________________________________________________________________
> 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