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's the difference between servlets and applets?
Explain url encoding in servlet?
What is called Session Tracking?
What is java servlet?
Write a servlet to upload file on server.
Write the code to get the server information in servlet.
Why do we use sendredirect() method?
How printwriter is different from servletoutputstream?
What is called a session?
How many objects of a servlet is created?
What is the difference between servlet and jsp?
How can I send user authentication information while making URL Connection?
What is meant by session? Tell me something about httpsession class?
How is the get () method different from the post() method?
How native code can be used in a servlet?