I have installed JSWDK-1.0.1 & JDK-1.2 in my system,
when I�m trying to compile my servlet code getting
error like :
C:\jswdk-1.0.1\src>javac HelloWorld.java
HelloWorld.java:4: Package javax.servlet not found in
import.
import javax.servlet.*;
HelloWorld.java:5: Package javax.servlet.http not
found in import.
import javax.servlet.http.*;
HelloWorld.java:7: Superclass HttpServlet of class
HelloWorld not found.
public class HelloWorld extends HttpServlet
3 errors
Seems problem with path & classpath, can anyone helpme
to fix it?

Autoexec.bat:
@ECHO OFF
PATH=C:\DOS;C:\MSSQL7\BINN;C:\jdk1.2.2\BIN;C:\jdk1.2.2\LIB;C:\ORAWIN95\BIN
set CLASSPATH=C:\jdk1.2.2\LIB\tools.jar;
IF EXIST TOSCD001 LH C:\WINDOWS\COMMAND\MSCDEX.EXE
/D:TOSCD001

Where should I keep the  source code(HelloWorld.java)?
thanks in advance,
jit


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.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