friends,
i have the jdk1.3 on my machine, and i just downloaded
tomcat, which i installed in the c:\tomcat dir. here is my autoexec.bat file:
set CLASSPATH=.;C:\jdk1.3\bin
PATH=%PATH%;.;c:\jdk1.3\bin;c:\tomcat\bin
set CLASSPATH=%CLASSPATH%;.;c:\jdk1.3\lib\tools.jar
set JAVA_HOME=c:\jdk1.3
set TOMCAT_HOME=c:\tomcat
set CLASSPATH=;c:\tomcat\lib\servlet.jar
set CLASSPATH=%CLASSPATH%;.;c:\tomcat\lib\tools.jar
set CLASSPATH=.;C:\jdk1.3\lib\tools.jar
please forgive the repetitions, but i am just making sure.
1. earlier, i was having a problem compiling the programs, so i copied the servlets.jar file from c:\tomcat\lib into the c:\jdk1.3\..\ext directory. the programs compile fine now.
2. when i start up tomcat using startup, (ie i double click on the file), a new dos window comes up, after which another window flashes up for less than a second (but the first window remains open). can i say that tomcat is running??? also,after thesocalled startup, when i type shutdowm, iget an error like, connectionrefused, or such. is tomcat running or not??
3. if yes, i put one of my programs in the c:\ direcotry called HelloWorld.java and compiled it. now, when i try to run the same by typoing in my browser
http://localhost:8080//Helloworld i get the 'document contained no datat' error.
what exactly is the proc for running
servlets??
i am totally confused and tired . please hlp me out
chetan