Yes I do know that to take advantage of both HTTP GET and HTTP POST methods we override
both doGet() and doPost(). But one question who decides which one to use when request is sent by client- GET or POST
Do you not access pages though client's (browser's) address bar? And, the client runs either some sort of form or jsp?
Not necessarily. The url can be mapped to a servlet. Have you never seen url looking like "/register.do" ?
as in servlet mapping of DD? umm... I am new in SCWCD.. And trying hard to realize all the concepts.. Can you elaborate bit more. Thanks in advance
By the way, in the DD we are only doing mapping... Hence, I am not sure if we can let the app know if it will be get or post in the DD? Can we ? I thought the only options is in the html form. If it explictly states that it is post, then it is. Else it is get by deafault. I am getting more and more confused as I go deeper in SCWCD