for that u need to set the class path.
u hav to include servlet.jar in the classpath
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
faisal
Sent: Wednesday, January 31, 2001 5:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Compilation problem
----- 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
___________________________________________________________________________
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