Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 404 - /Beer-v1/form.html

 
Peter Matthews
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

RE: HTTP Status 404 - /Beer-v1/form.html

I've just started reading "Head First - Servlets and JSP", and I have come to my first problem. When I follow all the instructions in the book, and then try and access form.html, I get the above error. I have checked the location of the file, and its in the correct place (i.e. C:/Tomcat5.5/webapps/Beer-v1/form.html) - so I have no idea whats going wrong! Any ideas would be very welcome. Thanks. Pete
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a WEB-INF folder under Beer-v1. Down the road you will also need to put a web.xml in the WEB-INF folder. For now, just creating the folder should get you past that error, I think
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic