Hi !

Copy servlet.jar to jdk1.2.2/jre/lib/ext/

Everything will work fine. And do perform this exercise for every *.jar file
you get !

The compiler will automatically find the servlet.jar file

Gautam


>From: Mark Phelps <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: how to compile a servlet program
>Date: Sun, 25 Jul 1999 14:20:24 +0100
>
>I can successfully run sample servlets using Microsoft Personal Web
>Server with JRun, but have not yet succeeded in compiling one.
>
>I attempted to do so using JDK 1.1.5 with the JSDK servlet extension
>which I had downloaded.
>This didn't work, so I downloaded JDK 1.2.2 - but I still get the
>same problem - a) 'package javax.servlet not found in import' and
>'package javax.servlet.http not found in import'; b) 'superclass
>HttpServlet of class Properties (the class I'm compiling) not found.'
>
>My path statement in autoexec.bat is set to c:\jdk1.2.2\bin. Is this
>where the javax classes are found ? This all looks different to me from
>JDK1.1.x, which used a CLASSES.ZIP file (the JDK1.2.2 documentation says
>this is not required). And where is the class HttpServlet ?
>
>--
>Mark Phelps
>
>___________________________________________________________________________
>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

Reply via email to