File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide 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

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 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:
CLASS PATH is set to:
JAVA HOME is set to:
PATH is set to:
[ October 06, 2002: Message edited by: Rob Petterson ]

Rob Petterson
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:
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:
subject: Tomcat JSP Example link dosn't work
It's not a secret anymore!