HI RAjeev,
I had lot problems and finally got them fixed.
I suggest that you delete your Tomcat and jdk and start over again.
I found excellent help at Marty HAll's
www.moreservlets.com and the actaul link is :
http://www.moreservlets.com/Using-Tomcat-4.html DO THE THINGS:
1. Print the entire (14 page) configaration tutorial and have it as a hard copy in front of you. That will save you lot of headaches.
2.I down loaded Tomcat 4 and jdk 1.3.1 from the above site.
3. Just follw the guidelines in the tutorial.
I am using windows 98, Tomcat 4, jdk1.3.1 and my AUTOEXEC.BAT looks like this
--------------------------------
@ECHO OFF
rem
rem *** DO NOT EDIT THIS FILE! ***
rem
rem This file was created by the System Configuration Utility as
rem a placeholder for your AUTOEXEC.BAT file. Your actual
rem AUTOEXEC.BAT file has been saved under the name AUTOEXEC.TSH.
rem
SET PATH=C:\jdk1.3.1\BIN
SET TOMCAT_HOME=C:\tomcat4
SET CATALINA_HOME=C:\tomcat4
SET JAVA_HOME=C:\jdk1.3.1
SET PATH=%PATH%%JAVA_HOME%\bin;C:\TCLITE\BIN;%PATH%
SET CLASSPATH=.;C:\ServletDevel;C:\tomcat4\common\lib\servlet.jar
-------------------------------------
Hope this will help you.
J. Reddi
SCJP2