This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of DevSecOps Adventures: A Game-Changing Approach with Chocolate, LEGO, and Coaching Games and have Dana Pylayeva on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Tomcat JSP Example link dosn't work

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
This tiny ad is suggesting that maybe she should go play in traffic.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic