Explain the difference between GET and POST methods?
Answer Posted / mdsha_asiya
The GET request is made by a client to read resources that
is HTML documents and images currently residing at the
webserver.
In GET ,entire form submission can be encapsulated in one
url like hyperlink.All data ,we are passing to the server
will dispalyed in the request String.
Query length is limited to 260 charaters.Not secure
faster,quick and easy.
POST,on the forwards sending large amount of information
(possibly mega bytes) to the server only once.Hence a POST
request is literally a post.
In POST ,your name or data value pairs inside the body of
the HTTP request which makes the cleaner url.All data we
are passing through the server will be hidden.user cannot
see this information.
we have no size limitations.
It is used to send chunk of data to the server,more
processed,more security and versatile.
| Is This Answer Correct ? | 48 Yes | 15 No |
Post New Answer View All Answers
What is servlet configuration?
What does the term localization refer to?
What is life cycle of Servlet?
What is the difference between Difference between doGet() and doPost()?
Can we override servlet service method?
How can you start a jta transaction from a servlet deployed on jboss?
What is session?
What is cgi and what are its drawbacks?
Explain jsessionid and when is it created?
Why are http servlets used in programming?
What methods do you use in servlet - applet communication?
What is setattribute in servlet?
Which protocol will be used by browser and servlet to communicate
Can you call a jsp from the servlet?
What is MIME Type?