| 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
|
|
|
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
|
|
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.
|
 |
 |
|
|
subject: Tomcat Set
|
|
|