Hi

Make sure that the Servlet.jar file is in the CLASSPATH

regards
dinesh

"Darshan K.P" <[EMAIL PROTECTED]> wrote:
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 free email and a permanent address at http://www.netaddress.com/?N=1

___________________________________________________________________________
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