wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark " 404 on http://localhost:8080" Watch " 404 on http://localhost:8080" New topic
Author

404 on http://localhost:8080

Harshal Akolkar
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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?

Bill

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61105
    
  66

See the ServletsFaq for a list of things to check.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 404 on http://localhost:8080