aspose file tools
The moose likes Tomcat and the fly likes  404 on http://localhost:8080 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark " 404 on http://localhost:8080" Watch " 404 on http://localhost:8080" New topic

404 on http://localhost:8080

Harshal Akolkar

Joined: Feb 11, 2013
Posts: 1
Hey guys,
I am beginner in servlets & JSPs.
I have installed tomcat7.0, jdk1.7; everything is set & good to go.
there's a "form.html" in "webapps" and "web.xml" in WEB-INF
but, every single time I try to visit "http://localhost:8080/beverage/form.html"
ends with a screen with 404: unable to find the resource.
Can someone please tell me how to fix it?
It would be a big help
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12913
Probably Tomcat does not think that the /beverage/ directory contains a valid web application.

An invalid web.xml or incorrect directory layout is a common cause of this problem.

Have you looked at the log files?


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62298

See the ServletsFaq for a list of things to check.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you tried LearnNowOnline?
subject: 404 on http://localhost:8080