I was wondering if anyone had to do anything special to get this very basic first example working from HeadFirst Servlets and JSP. For some reason once I have deployed everything as described in the book I get a 404 error. Some details:
Trying to load site http://localhost:8080/Beer-v1/form.html 1. When web.xml is not in the WEB-INF the HTML loads ok 2. As soon as I add the web.xml and the webapps/Beer-v1/WEB-INF/classes/com/example/web/BeerSelect.class the from page no longer loads.
I have spend a good 4 hours trying to debug this and am just baffled I am sure its something stupid but I hope someone can lend me a hand. Thanks