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 / kalyan

1. In doGet() u submit the request by appending the URL
while in doPost() request is submitted via form.

2.Since doGet() appends the link it is not safe for request
containing passwords etc. while doPost() uses form hens it
is safe.

3.You can send only limited data in doGet() while unlimited
data in doPost() .

4.doGet() request could used like a bookmark as it uses URL
but doPost() can't be used as bookmark.

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet container?

1119


How can a servlet be used to generate plain text instead of html?

955


How we can create war file in servlet?

1132


What are the uses of servlet and what is servlet chaining?

1096


Write a simple servlet program to print the contents of html.

1051


What is servlet in simple terms?

1025


Explain the difference between servletconfig and servletcontext in servlet?

1045


What is servlet and how it works?

978


What do you mean by session tracking and also explain its techniques?

994


What is the use of java servlet api?

1036


Which method of the httpservletrequest object is used?

1098


Which event is fired at the time of project deployment and undeployment?

1325


What is the difference between Server and Container?

1256


How the JSP file will be executed on the Server side?

1142


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1030