Advanced java programming
Differences between doGet() & doPost()
M.Jeevana sujitha
Assistant Professor
Department of Computer Science and Engineering
SRKR Engineering College, Bhimavaram, A.P. - 534204
OBJECTIVES
The Objective of this lecture is
Differences between doGet() & doPost()
doGet() | doPost() |
The doGet() is the default | The doPost() is the default |
method of HttpServletRequest | method of HttpServletResponse |
In this user entered data is appended to URL as query string | In this user entered data is not appended to URL |
It provides less security | It provides more security |
It can send only limited amount of data | It can send any amount of data |
It is generally used to query or get some information from the server | It is used to update or post some information to the server |
In doGet() method parameters are not encrypted | In doPost() method parameters are encrypted |
It is faster | It is slower |
THANK YOU