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

Explain servlet.

994


Differentiate between the web server and application server?

988


What is api in servlet?

963


Explain the lifecycle of a servlet?

909


How do you configure a centralized error handler in servlets?

1034


Explain web application directory arrangement?

998


What is called Session Tracking?

1108


What is difference between get and post method?

1006


What is servlet interface?

1163


Why is Servlet so popular?

1006


What must be implemented by all servlets?

1042


What are the steps that are required to handle the multi-threading?

1044


Explain the servlet context.

1065


What is the life cycle of a servlet?

1424


What is the main purpose of java servlets?

999