Thanks Danny. I added servlet.jar to my classpath and it works !
Mark
In message <[EMAIL PROTECTED]>, Danny Rubis <[EMAIL PROTECTED]>
writes
>Hey!
>
>If your are still want to use JDK 1.1.5 and JSDK 2.x, then make sure that you
>put the jar in your classpath. I add this to my Windows NT environment
>variable CLASSPATH:
>
>d:\JSDK2.0\lib\jsdk.jar
>
>I haven't tried JDK 1.2 yet, and am therefore no help.
>
>Sans adieu,
>Danny Rubis
>
>
>
>Mark Phelps wrote:
>
>> 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
>
>___________________________________________________________________________
>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
--
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