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 is a servlet context?
How a servlet is unloaded?
What is servlet used for?
What exactly are the functions of servlet?
What’s the difference between forward() and sendredirect() methods?
What is the need of servlet filters?
How the servlet is loaded?
The code in a finally clause will never fail to execute, right?
What do you mean by request dispatcher in servlet?
What is the difference between the http servlet and generic servlet?
What are the differences between servlet context vs servlet config?
What is new in ServletRequest interface ? (Servlet 2.4)
Define servlet mapping?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
How can we refresh automatically when new data is entered into the database?