say we have html page and we are sending the values from html to server. First time we use the get method in html form.
I know that value will be passed as part of URL.But at serverside will we get it as part of HttpServletRequest and get the
passed value from HTML by request.getParameter("username");(in doget method)
If we do the above stuff with post method in HTML form .will we still get it as part of HttpServletRequestand get the
passed value from HTML by request.getParameter("username");(In dopost method)
Question2:- In case of get method values are passed as part of URL but how values get passed in case of post method?
(on some sites i have read it is passed posthttp but i did not get this meaning)
Question3:- One of my collegue asked me is there any we can only achieve with get method not with post. I am not aware of that.
Could any bodypoint me in that direction?