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 the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What's the use of servletcontext?
why we should override only no-agrs init() method.
What is the difference between jsp and servlet life cycle?
How to commuincate between an applet and a servlet?
Describe in brief RequestDespatcher?
Why doesn’t a servlet include main()?
What are the functions of the servlet container?
Why do you use session tracking in httpservlet?
How would you create deadlock on your servlet?
Explain how to improve Servlet Performance?
What is the directory structure of web application?
Is java servlet still used?
What is Servlet API used for connecting database?
What is the difference between CGI and Servlet?