This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I've at long last managed to get Tomcat starting on XP. when I go to http://localhost:8080/ I get the front page along with the JSP Example hyperlinks. When I click on them, it dosn't go to the example page but ends up at a web site called Commonname.com saying "15 matches for localhost:8080". I've also tried doing a helloWorld jsp file. When I try and run it, the broswer load bar gets to half way and no page is loaded. Where is it going wrong? I'm using j2sdk1.4.0_01 and jakarta-tomcat-4.1.12-LE-jdk14 CATALINA HOME is set to: c:\jakarta-tomcat-4.1.12-LE-jdk14\jakarta-tomcat-4.1.12-LE-jdk14 CLASS PATH is set to: c:\jakarta-tomcat-4.1.12-LE-jdk14\jakarta-tomcat-4.1.12-LE-jdk14\common\lib\servlet.jar; JAVA HOME is set to: c:\j2sdk1.4.0_02 PATH is set to: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\j2sdk1.4.0_02\BIN;C:\j2re1.4.0_02\jre\bin [ October 06, 2002: Message edited by: Rob Petterson ]
Joined: Jan 23, 2002
This is weird. I still can't get the Tomcat JSP Examples loading. But I have managed to get the Hello World example working. I saved this jsp file into a folder called begjsp-ch01, which sits in the Webapps folder. This is what I put into the browser window: http://localhost:8080/begjsp-ch01/index.jsp And hey presto! I got a screen saying H4ello World the date is.. the time is... COOL - it's only taken me 25 hours to do this.