Just set the CLASSPATH env. variable to the path of servlet.jar
if ur servlet.jar file is in c:\jsdk dir then set
CLASSPATH=c:\jsdk\servlet.jar
hope this works...
Deepak Patil
C-DAC,Pune
>From: "Sonal Patni (CTS)" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: same how to set up paths to compile servlets
>Date: Mon, 4 Oct 1999 09:51:12 +0530
>
>hi hugh/anupam,
>
>ur error is an obvious one...Servlet classes does not come in jdk1.2
>
>U have to download jsdk kit and put their jar files in ur class path...
>
>Try it out,,possibly ur problem will be solved
>
>
>
>-----Original Message-----
>From: anupam [mailto:[EMAIL PROTECTED]]
>Sent: Friday, October 01, 1999 8:01 AM
>To: [EMAIL PROTECTED]
>Subject: same how to set up paths to compile servlets
>
>
>i have same problem that my servlets are not compiling though the compiled
>one used as examples runs on the server
>thanks
>anupam
>----- Original Message -----
>From: Hugh Faux <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, September 30, 1999 7:56 PM
>Subject: how to set up paths to compile servlets
>
>
> > keep getting 3 errors
> >
> > Package javax.servlet not found in import.
> > Superclass HttpServlet of class SnoopServlet not found
> >
> >
> > In my class path I have jdk1.2.2/lib/tools.jar.
> > I then run the startserver executable from the jswdk1.0 which sets up
>the
> > other class paramets.
> > I still get these errors,
> > would appreaciate if anybody could help me figure this out.
> > Thanks,
> > Hugh
> >
> >
>___________________________________________________________________________
> > 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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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