Explain the difference between GET and POST methods?
Answer Posted / alok kumar ranjan
Re. What is the difference between Get and Post Method?
Answer: (1). Get is Default Http Method, but in post method
you should specify the post method implicitly as follows:-
<form action=" " method="post"
(2) In Get Method, data is passed in URL Pattern. But in
post method data is passed with in method body.
(3) In Get Method, Size of URL is limited because of this e
can send only limited amount of data to server using the
get method. But in Post Method, We can send the data
unlimited amount of the data.
(4) Get Method is not secured because data can be seen in
URL. But Post Method is much secured.
(5) Through Get Method, We can not send data to server but
in Post Method, We send the data to server
Is This Answer Correct ? | 19 Yes | 6 No |
Post New Answer View All Answers
What do you mean by deployment descriptor?
What are the life-cycle methods for a servlet?
why we should override only no-agrs init() method.
How to find whether a parameter exists in the request object?
Why doesn’t a servlet include main()? How does it work?
Should I override the service() method?
What is the difference between portlet and servlet?
Write a command to get actual path of a servlet to the server?
Is java servlet still used?
What is URL Encoding?
What do you mean by annotations in servlet?
What is servlet and its use?
Write a simple servlet program to print the contents of html.
What is pure servlet?
How to upload a file to the server using servlet?