#What is the #difference #between #HttpRequest method '#GET' & request method '#POST'? #adv java #Advance #Java #Servlet #Programming #Tutorial
GET POST
-------------------------------- | ----------------------------------------
1)It is default request method 1) Not the default request method.
|
2)Designed to get the data from 2) Designed to send the request to server
the server by sending the request | having the capability to carry
but it can send limited amount of unlimited amount of data.
data along with request(Max. of
256Kb)
3) Shows form page data as query 3) Does not show the form page data in
string content in browser address the address bar.
bar.
4) To process this method based 4) We can use service(--) or doPost(--)
request we can use service(--) method
or doGet(--) in our servlet
program
5) Does not support data 5) Supports Encryption
encryption techniques.
6) Can not carry multiple MIME 6) Can Carry Multiple MIME Types
Type data along with the request.
7) Not suitable for file 7) Work with file uploading
uploading.
8) Does not provide data 8) Provide data secrecy.
secrecy.
9) Sends data to server fastly. 9) Takes bit extra time.
10) Idempotent 10) Not Idempotent.
On this page of the site you can watch the video online 32 Difference bet HttpRequest method GET & POST | Adv Java Servlet Programming Tutorial advance java with a duration of hours minute second in good quality, which was uploaded by the user tech fort 01 February 2018, share the link with friends and acquaintances, this video has already been watched 774 times on youtube and it was liked by 33 viewers. Enjoy your viewing!