I think u missed out the ending semicolon. From Java2 onwards this is
required. Also double check for the Path to servlet.jar file

bye
Jiger


>From: "Darshan K.P" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Help Required!!!
>Date: Wed, 31 May 2000 11:58:24 +0530
>
>Hi,
>
>
>  I am new to Servlet programming. I installed Javawebserver2.0 and JSDK2.0
>in my Win95 Machine. When I try to compile my first program it gives the
>following errors
>
>"Package javax.servlet not found in import"
>
>"Package javax.servlet.http not found in import"
>
>
>can anybody help me out.
>
>The contents of my autoexec.bat are as below
>
>c:\windows\command\mscdex.exe /d:mscd001
>@C:\PROGRA~1\NORTON~1\NAVDX.EXE /Startup
>PATH
>=C:\WINDOWS;C:\progra~1\micros~2;C:\WINDOWS\COMMAND;C:\ORAWIN95\BIN;c:\;c:\p
>rogra~1\powers~1\pb5i32dk;c:\progra~1\common~1\powers~1;D:\ORAWIN95\BIN
>PATH
>%PATH%;c:;c:\windows;c:\windows\system;c:\progra~1\common~1\powers~1;c:\css;
>c:\css\common;c:\css\database;c:\sqlany50\win32;D:\jdk1.2\bin;e:\webserver\b
>in
>SET CLASSPATH =
>.;e:\jcode;d:\jdk1.2\lib;e:\webserver\lib\servlet.jar;e:\jsdk\lib\jsdk.jar
>path = %path%
>doskey
>
>
>
>Thanks in Advance
>
>
>darshan
>
>___________________________________________________________________________
>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 E-mail from MSN Hotmail 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