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 do get/dopost

Answer Posted / srikanth b

Get:-
1.Get is read only request, means by using get the web
client is not going to update any information on server side.
2.In get the request paramaters info or client info is added
to uri in the form of Query String(Request Parameters) and
it is visible in browser's adders bar.So we cant send
sensitive info to the Server.
3.The no of characters can be placed in the adders bar are
limited(8000 chars). So we cant send huge amount of data.
4.We can send only ascii data here.
Post:-
1.Post is not read only request, it is an update request,
means by using post the web client is going to update any
information on server side.
2.In post the request paramaters info or client info is
placed in the entity body.As request parameters are added to
entity body they are not visible in the browser's adderss
bar.So we can send sensitive info to the Server.
3.In the entity body we can palce huge data. There is no
size limitation. So we can send huge amount of data.
4.We can send ascii and binary data from web client to web
server.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the jar and war files in servlet?

1057


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2748


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

980


What are important features of Servlet 3?

1072


Write a program to show the functionality of servlets.

985


Which is better jsp or servlet?

998


Is it possible to have a constructor inside the servlet?

975


When servlet object is created?

1101


What are the differences between servlet context vs servlet config?

1043


How can the session in servlet can be destroyed?

1139


What do you mean by chaining in servlet?

1003


What are the drawbacks of cgi?

982


What is the procedure for initializing a servlet?

1002


What are different ways for servlet authentication?

1062


How can we create deadlock situation in servlet?

1373