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

What is a cookie What is the difference between session and cookie

1140


Explain mvc pattern.

1081


Explain the difference between a web server and a web container?

1056


What are different methods of session management in servlets?

1329


Can you create a deadlock condition on a servlet?

1124


What do you mean by cgi in servlet?

1126


What are all the ways for session tracking?

1225


Difference between get and post in java servlets?

1077


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

1207


Difference between GET and POST?

1219


Why do we have servlet wrapper classes?

1115


What is the life-cycle of servlets?

1182


What is java servlet?

1108


What are the kinds of http requests?

1097


Write the code to get the server information in servlet.

1110