I'm working on the hfjsp book, doing the beer app. I have the first iteration of the app where I select a color and hit the submit button.
My action=beer1.do, which is a
servlet. However, instead of seeing the color I selected, I get a 404 error, and can't figure out why.
I've looked at this a couple times and can't figure it out... Can someone help?
Here's my web.xml snippet:
The path of the app prior to hitting the submit button is:
http://localhost:9999/hfjsp/chapters/ch3/beer1.html
Do I need to append the chapters/ch3 to the front of the action, beer1.do, or should it just replace the path accordingly?
Thanks,
John