What is the difference between Get and Post Method?

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 implicitely as follows:-
<form action=" " method="post"

(2) In Get Method,data is pssed 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 very 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 ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I send user authentication information while making URL Connection?

553


Why do we have servlet wrapper classes?

587


What is the difference between the http servlet and generic servlet?

609


What is webservlet?

543


How to commuincate between an applet and a servlet?

599






Which exception is thrown if the servlet is not initialized properly?

600


How are filters?

594


Whats the advantages using servlets over using CGI?

593


What do you mean by a filter and how does it work?

547


What are all the advantages of servlet over cgi?

612


What do you mean by servlet context?

610


What do you mean by scope object and what are its types?

577


Write a program to show the functionality of doget and dopost method?

666


How to get the IP address of client in servlet?

638


What is cookie in servlet?

602