I'm trying to learn JSPs though unfortunately I'm limited to Windows 98. I have got Tomcat up and running with the JAVA_HOME pointing to the JDK1.3. My problem is that although I can view the default page at localhost & the servlet examples seem to run, I do not seem to be able to run any of the Java Server Pages that come as examples (let alone any of my own!).
Could anybody help me please.
if u r using Tomcat 4.0 then u need to set the enviroment variables in autoexec.bat
if u r using Tomcat 3.1
if u wanna run yr own JSP and beans do th efollowing after setting these varables.
-rest of folders
go to webapps and make a new folder say (MyFolder) where u want to put all yr JSP and beans. then
go to exapmles folders annd copy all the sub folders and paste them in yr folder (MyFolder) delete all the example code etc. u have to put yr JSP files in the JSP folder
and Beans in
Many thanks.I shall give this a try.
I copy and pasted the code into the autoexec.bat file and now the server won't run. It gives a bad command or file error. The classpaths in the Tomcat.bat files are set to...
...during installation. I changed the last line -
JAVA_HOME%\c:\jdk1.3. I don't know if this is correct. But on each occasion with the autoexec.bat file edited Tomcat wouln't run. Any suggestions?
The last line in the CLASSPATH in the tomcat.bat file should read...