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...

In servlets, Why do we need both GET and POST method
implementations?

Answer Posted / amit pandey

In servlet, the default method is doget(), which has
various limitations like the request length shuld be < than
1024 characters, all the information r send as URL, which
is not secure, large data like images cannot be send in URL.
Hence the POST method is implementated that overcome all
this issues w.r.t. the GET method.
Hence, in order that application shuld be more secure &
user orientated, both the methods are impelmentated.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of servletconfig interface?

992


How we can create war file in servlet?

1066


How do you run a servlet?

1010


What are the various ways of session supervision in servlets?

945


Explain request dispatcher and its methods.

944


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

1216


What are the different ways we can maintain state between requests?

1044


What is a servlet?

1072


Is it good idea to create servlet constructor?

1205


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

987


What is java servlet?

1008


Can you refresh servlet in client and server-side automatically?

1029


How many objects of a servlet is created?

1217


What are the types of protocols supported by httpservlet ?

1165


What are the different methods of session management in servlets?

942