wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat JSP Example link dosn't  work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat JSP Example link dosn Watch "Tomcat JSP Example link dosn New topic
Author

Tomcat JSP Example link dosn't work

Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
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 ]

Rob Petterson
SCJP
Rob Petterson
Ranch Hand

Joined: Jan 23, 2002
Posts: 149
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat JSP Example link dosn't work