aspose file tools
The moose likes Tomcat and the fly likes Tomcat Set Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat Set" Watch "Tomcat Set" New topic
Author

Tomcat Set

Niels Laughlin
Greenhorn

Joined: Apr 04, 2006
Posts: 19
Hi, I'm just starting out, and am working through Chapter 2 of Marty Hall's Core Servlets and JavaServerPages. I appear to be having a problem with tomcat.

From Firefox, I enter //localhost:8080 and the tomcat home page appears. According to Hall, this indicates that tomcat is installed correctly. But when I try to redisplay it using //localhost:8080/index.html, Firefox tells me that it's not there. There are a few other things that indicate that the problem may be that firefox is trying to communicate with my DSL internet rather than my own PC's server. Any ideas as to what may be wrong? Thanks. Niels Laughlin
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56224
    
  13

Did you check to see if an index.html exists in the Tomcat ROOT appliccation?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Deepan Devadasan
Ranch Hand

Joined: Jan 25, 2007
Posts: 226
Hi,

I think Bear Must be correct



there is no index.html...


but there is a mapping to index.jsp in the original web.xml i found inside (TOMCAT_HOME/Webapps/ROOT)

This should clarify your problem...

Still your curiosity is appreciated


Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56224
    
  13

Originally posted by Theepan Thevathasan:
there is no index.html...


Well, I was hoping that the OP would discover this for himself.

The reason that you get a 404 error on index.html, is that the file doesn't exist. So no mystery.

This is something you could have verified with a 30-second check.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tomcat Set
 
Similar Threads
Installing Tomcat 5.5 in Suse Linux
problem in starting tomcat
Servlet not running
Servlet is not displaying from browser
problem with accesing html within jsp structure