Explain the difference between GET and POST methods?
Answer Posted / karishma
POST METHOD:
The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in
the form will be stored in the FORM collection.
GET METHOD:
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair.
The length of the URL should be less than 255 characters.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is called Scriptlet?
What is string tokenizer?
What is MIME Type?
What is the use of request dispatcher interface?
What is http servlet in java?
How do I know if java is running on linux?
Which http method is said to be non-idempotent and idempotent?
What is difference between jsp and servlet?
Tell us something about servletconfig interface.
Explain the difference between get and post method in servlet?
Is servlet thread safe?
What is the use of attribute in servlets?
What do you mean by url pattern in servlet?
Why is a constructor needed in a servlet even if we use the init method?
What is the use of httpservletrequestwrapper?