Explain the difference between GET and POST methods?
Answer Posted / rajeev sen
Use GET
• To retrieve an HTML file or an image file, because only
the filename needs to
be sent.
Use POST
• To send a lot of data; for example, POST is well suited
for an online survey,
since the length of the query string may exceed 255 characters.
• To upload a file.
• To capture the username and password, because we want to
prevent users from
seeing the password as a part of the URL.
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Explain the difference between get and post method in servlet?
What are the types of servlets? Explain
How many objects of a servlet is created?
What do you mean by web applications?
What is servlet in simple terms?
What is url encoding and url decoding
What’s the difference between genericservlet and httpservlet?
What is MIME Type?
What is servlet container?
What are session variable in servlets?
Why is Servlet so popular?
What are the kinds of http requests?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is a servlet engine?
Can servlet have a constructor ?