#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.
In questa pagina del sito puoi guardare il video online 32 Difference bet HttpRequest method GET & POST | Adv Java Servlet Programming Tutorial advance java della durata di ore minuti seconda in buona qualità , che l'utente ha caricato tech fort 01 febbraio 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 774 volte e gli è piaciuto 33 spettatori. Buona visione!