Could be any number of things. Maybe your HTML isn't right and your submit button doesn't do anything. Or maybe a lot of other things. But we don't know anything at all about your problem except that you have some HTML. So start by looking at that. Make sure the submit button is in a form which is configured correctly for a start. If not, then move on to the next step.
Action is the action attribute of your form? It sounds like the action might be sending the request to the form.html page instead of the url mapped to your Servlet. It might help if you shared some code.
Joined: Jun 01, 2011
My html code is same as in book
<h1 align = "center">Beer Selection Page</h1>
<from method = "POST" action = "SelectBeer.do">
Select Beer Characteristics<p>
<select name = "color" size = "1">
<option value = "light" > light </option>
<option value = "amber" > amber </option>
<option value = "brown" > brown </option>
<option value = "dark" > dark </option>
<input type = "SUBMIT">
And the other java files are compiled without errors.