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

Hai doGet() method is the default HTTPServletRequest method.
In this user entered data is appended to the URL as query
String. It can send only limited amount of data. In doPost()
method the user entered information as data and not appended
to the URL.It can send any amount of data.

Is This Answer Correct ?    29 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between CGI and Servlet?

1056


Can servlet have a constructor ?

1034


What do you mean by the servlet chaining?

1058


Why servlet is mostly used?

1224


Which is better jsp or servlet?

1033


What is cgi?

999


Why do we have servlet listeners?

1059


Which are the different ways you can communicate between servlets?

985


Why is a constructor needed in a servlet even if we use the init method?

1122


Explain the different ways for servlet authentication?

1081


What is called servlet container?

1073


What are some advantages of storing session state in cookies?

998


What is the difference between Difference between doGet() and doPost()?

1276


What is the importance of init() method in Servlet ?

1069


What’s the difference between forward() and sendredirect() methods?

1000