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 java servlet session?

975


What is the use of request dispatcher interface?

1012


How to get the server information in a servlet?

1171


What are the common methods that are included in the http servlet class?

1041


What must be implemented by all servlets?

1103


What is meant by Servlet? What are the parameters of service method?

1060


Can we refresh servlet in client and server side automatically?

1058


Difference between get and post in java servlets?

1038


What is new in ServletRequest interface ? (Servlet 2.4)

1013


What is httpservlet class?

1144


Explain the methods of request dispatcher in servlet?

1049


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?

1255


Why servlet is mostly used?

1242


Why do we use sendredirect() method?

978


Where do you define dispatcherservlet?

1052