Hi friends,

Already I had posted a doubt regarding how to run a servlet program

The reply was to add a class path or the jar file and the jdk classes.zip

I tried running with

javac -classpath c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.1.8\lib\classes.zip
SimpleServlet.java

and the servlet was compiled and i got the corresponding class file
Question:
Do i have to use this command every time i compile a servlet
Can't i declare the class path somewhere else
I have tried typing
     classpath c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.1.8\lib\classes.zip in the
     autoexec.bat
Please do give the exact solution

Thanx in advance


--
 V.T.R. Ravi Kumar

 Office :                               Resd.:
---------                               -------
 Information & Technology Department # Room No.68, ET Hostel - 2, Sector1
 Bharat Heavy electricals Limited    # Bharat Heavy Electricals Limited
 Ranipur, Hardwar - 249 403, INDIA   # Ranipur, Hardwar - 249 403, INDIA.

___________________________________________________________________________
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