dopost and doget

Advertisements

Prev Tutorial Next Tutorial

Difference Between dopost and doget in Servlet

Http protocol mostly use either get or post methods to transfer the request. post method are generally used whenever you want to transfer secure data like password, bank account etc.

Get methodPost method
1Get Request sends the request parameter as query string appended at the end of the request.Post request send the request parameters as part of the http request body.
2Get method is visible to every one (It will be displayed in the address bar of browser ).Post method variables are not displayed in the URL.
3Restriction on form data, only ASCII characters allowed.No Restriction on form data, Binary data is also allowed.
4Get methods have maximum size is 2000 character.Post methods have maximum size is 8 mb.
5Restriction on form length, So URL length is restrictedNo restriction on form data.
6Remain in browser history.Never remain the browser history.

Prev Tutorial Next Tutorial

Advertisements

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements