• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 on http://localhost:8080

 
Harshal Akolkar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64721
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the ServletsFaq for a list of things to check.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic