This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Mmmm... I don't know. The error message seems to point out that the mapping between your form action and your servlet is not found. The mapping is either wrong (but it seems correct here), or web.xml is not found.
Are you sure you have \Tomcat_5.5\webapps\Beer-v1\WEB-INF\web.xml, with the exact content you've posted above ? And Did you try to restart Tomcat ?
Joined: May 28, 2006
I am still can not resolve the problem, But I am still try to work it out. Can anyone help to explain the meaning of "...:classes:." in the following command, I do not know what this for ?
The thread you've posted to is months old. It should be safe to assume that the original poster has moved on from this issue by now.
Also, Tomcat is one of (if not the) most popular servlet containers in the world. The Head First series is also extremely popular. If there was a bug in Tomcat that kept the examples in that book from running, there would be many Many posts in here from people complaining about it. Since there are not, it is usually best to assume first, that the problem is with your code.