I'm quite a kindergarten schoolboy in the world of
JSP and
Servlet.
I find many things really hard to manage, for example,
I create a simple form:
<form id="blah" name="blah" action="Beer.do" method="post">.....</form>
I follow the example in the world's best book called "Head First Servlets & JSP" and it runs just fine.
As long as I wouldn't press enter directly to the url '...../Beer.do' in the address bar, everything is still fine.
Suddenly I do press ENTER and it's broken. I already delegate doGet to doPost and it seems like all parameters were lost in space.
What's the best practice to manage the control flows like ENTER@ADDRESSBAR, REFRESH, F5, CTRL+F5 , to force the web app runs smooth as I want?
Any suggestion on books or just the few keywords about design
patterns will be really appreciated.
Thanks
Max