I am trying to test the Servlet basics on the tomcat server. For the GET method, the request parameters are passed in the address line. I developed a small servlet which read all the parameters and display it. Working fine. I place these servlet as the action element in the HTML FORM and test for default GET and another POST method. Aslo working fine. BUT....
When I tried the following URL in HTML FORM action attribute using GET method
while running, in the browsers address bar, the ?name=narendra is ignored and the FORM fields are appended. OK
Surprisingly, when I tried the same using POST method, The name parameter from the addtess bar is included in the parameter list along with the form parameters. I understand that the request paremeters for POST method are palced the the message body.