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

I agree the above two answers. Here is my view.
HTTP Get method perform the following scenarios.

1) By default form submission without specifying method
name
2)if you click on hyperlinkS or images
3) or if you type url in address bar in brower

and Get there is no side effect. simple it get the resource
form serverside. Some time we require to deal with headers

Get can send only character data and limited data.and also
It can't support binary data.

POST method can support binary data and bulk data.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to show the functionality of servlets.

982


What is the use of servletconfig interface?

1007


What is load-on-startup in servlet?

1092


Can we override servlet service method?

1060


Explain url encoding?

949


What is ServletContext object?

1069


What are the new features added to servlet 2.5?

1059


How can you push data from an Applet to a Servlet?

1055


What are different Authentication options available in Servlets.

1023


Why servlet is mostly used?

1197


What’s the difference between genericservlet and httpservlet?

1042


Which event is fired at the time of setting, getting or removing attribute from application scope?

1097


Name the packages that work with servlet?

958


What are the difference between session and cookies in servlet? Explain

1018


Explain request dispatcher and its methods.

958