hi amar, add all jar files to the class path in autoexec.bat file .
execute the file or restart yr pc then try to compile again.
If y r using jsdk2.1 then add this following line to your autoexec.bat.

       set CLASSPATH=c:\jsdk2.1\server.jar;c:\jsdk2.1\servlet.jar;%CLASSPATH%

or if class path is already been set add

       ;c:\jsdk2.1\server.jar;c:\jsdk2.1\servlet.jar

Also set the java home.


> - Original Message -----
> From: Amar Das <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 02, 2000 4:03 AM
> Subject: How to link javax
>
>
> > My java code has the following line in it.
> >
> > import javax.servlet.http.*;
> >
> > while trying to compile the program I'm getting the follwoing error
> > C:\ConnectionBean.java:6: package javax.servlet.http does not exist
> > import javax.servlet.http.*;
> >
> > How can I resolve this problem.  Thank you for your help.
> >
> > - Amar Das
> >
> > ___________________________________________________________________________
> > 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
>




____________________________________________________________
Sent via ocsemail from IASRI Intranet System intranet

___________________________________________________________________________
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