Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between doGet() and doPost()?

Answer Posted / giridhar gangapatnam

doGet() doPost()
1)doGet() method can send 1)doPost() method can send
limited amount of data large amount of data.
i.e.upto 256 characters
only.

2)In doGet() method when we 2)In doPost() methodrequest
send request then in Request is passed along withbody
Format there is no body part, part of theRequestFormat.
the request is passed along doPost() method Request
with only Request Format header Format has both body and
part only. header part.

3)doGet() method send limited 3)large amount data has
data because it has only header sent through body part
part,header part has limited of the RequestFormat.
memory to carry the data.

4)doGet() method support book 4)doPost() method doesn't
marks. support book marks.

5)when we send request parameters 5)The requested parameter
in doGet() it will display the in doPost() will not dis
information in URL as a query play the information as
string.so in doGet() data there a query string in URL.so
is no data security. data is secured.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ways to handle multi-threading in servlets?

1073


What is servletconfig?

1014


What is the workflow of a servlet?

1166


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

1130


How to generate the server side programming and the advantages of it over the other languages?

989


What if you need to span your transaction across multiple servlet invocations?

1078


Why servlet is faster than jsp?

1058


What is meant by a servlet?

1091


When jsessionid is created?

1035


What is servlet invoker?

1027


What are the types of servlets? Explain

1249


What is a servlet?

1128


What is Request Dispatcher?

1422


What are the supporting protocol by HttpServlet ?

1178


How can we create deadlock situation in servlet?

1419