Nitin

1) Copy the startserver.bat from the JSWDK to a file named compile.bat
2) Modify the compile.bat to exec javac instead of java
3) Add your servlet.java directory to the path before the javac statement.

This way you should have the same CLASSPATH (most importantly servlet.jar) at compile 
time as the runtime. This one of the problems I had initially.

Bill Lindsay
Retirement Group - VP
Distributed Application Plan Services


-----Original Message-----
From: nkapoor [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 09, 2002 5:49 AM
To: [EMAIL PROTECTED]
Subject: Path Problems

Hi ,

I have just started with servlets, i ma having problems starting with the
first example of "Hello World".I hope some one can help me in this list with
this.

i have downloaded the JSWDK thing from sun side , put it in my "C" drive and
added "c:\javax" to my class path.I am using "Blazix" as a web server, but
leave the web server apart the program doesnot even compile .Does any one have
any ideas , i am dam sure there is something wrong with the class path and yes
i am working ion a Windows 98 machine .

i hope some helps me soon.

Nitin

___________________________________________________________________________
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

Reply via email to