try to find article named "High-Level Network Programming ", here is one
Consider the following HTML form:
<input type=text name=number size=30>
<input type=submit name=GetMarks value=GetMarks>
This form is handled by the servlet
http://www.javacourses.com/servlet/getMarks. The form uses
the GET method to transfer the information. When
the user enters a student number -- such as 556677 --
and clicks the GetMarks button, the form data is
sent to the servlet as part of the URL. The encoded URL
In the case of POST, however, input data is not
sent as part of the URL; rather, it is sent as an entity body
in a separate message. Therefore, the POST method
is more secure, and you can send more data with it. In
addition, the data doesn't have to be in plain
text, as with the GET method.
hope this helps...
> I am getting a value for a hidden field in my servlet when the method
> of the form is GET.
> But when I change it to POST, I get a null value for the same field,
> all things remaining the same.
> Does anybody have any idea why this could be happening?