Hi,
Just put the file Servlet.jar in your directory
jdk1.x\jre\lib\ext
and you must be able to compile your sevlets with no problem.
Bye.
Sylvie.
Arora Monika a écrit :
> Thank you Pradeep. I did the path setting in builder but still it can't
> find the classes.
>
> Monika.
>
> -----Original Message-----
> From: Jonnalagadda Pradeep.
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 30, 2001 2:52 PM
> 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
___________________________________________________________________________
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