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

whenever we use doGet() method query string will be appear
on the address bar.
but doPost() does't appear on the address bar.

doGet() method is send limited amount of data
doPost() method is send unlimited amount of data

using doGet() method we can't solve idem potent problem.
using doPost() method we can solve idem potent problem.

doGet() is faster
doPost() is slow.

doGet() method is get method based request
doPost() method is post method based request

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1258


What is a servlet context object?

1140


What do you mean by the servlet chaining?

1086


What is cookie in servlet?

1060


What are common tasks performed by Servlet Container?

1262


How can you create a session in servlet?

1146


What is the default http method in the servlet?

1304


What is life cycle of Servlet?

1078


What is meant by a servlet?

1104


What is servlet initializer?

981


What are the different session tracking techniques?

1199


Can we get PrintWriter and ServletOutputStream both in a servlet?

1149


Explain the concept of ssi ?

1071


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

1085


How do servlets work?

1045