you can also solve the problem by add the "servlet.jar" in your classpath of
your machine.


-----Original Message-----
From: Jonnalagadda Pradeep.
[mailto:[EMAIL PROTECTED]]
Sent: 01/30/2001 04:52
To: [EMAIL PROTECTED]
Subject: Re: Compilation problem


include the servlet.jar file in the class path of  VCAFE or builder.I did
not work in vcafe but in builder
go to project menu-->project properties-(if ur compiling in an existing
project) or default properties(if u have none)->
---->gpo to paths-->add-->new ---->create name and give thepath of the
servlet.jar in classpath (and say ok)
now it should compile
pradeep.

> -----Original Message-----
> From: Arora Monika [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 30, 2001 3:56 PM
> To:   [EMAIL PROTECTED]
> 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

Reply via email to