This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes HTTP status 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP status 404" Watch "HTTP status 404" New topic
Author

HTTP status 404

Supriya Gupta
Greenhorn

Joined: Jul 06, 2008
Posts: 9
I am new to jsp/servlet. I installed tomcat5.0. I tested by running home page http://localhost:8080. Then I tested HFSJ's first practice example Beer Selection Page. The file is in webapps/beer/form.html and url http://localhost:8080/beer/form.html but I get HTTP status 404 error.If I keep the html file in webapps/ROOT/beer/form.html then the page runs successfully. Pl guide me.
Abhra Kar
Ranch Hand

Joined: May 22, 2008
Posts: 122
Have you make a entry of form.html in your web.xml's <welcome-file-list> tag?
Other wise you should not work properly
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP status 404
 
Similar Threads
first program error, something is missing
accessing html file under tomcat
Tomcat Problem
Head First Servlets and JSP - Ch 3
Tomcat 5.0.30 - 404 error with HTML file (Head First Beer example)