DEVFYI - Developer Resource - FYI

Difference between GET and POST

Servlet Interview Questions and Answers


(Continued from previous question...)

16. Difference between GET and POST

In GET your entire form submission can be encapsulated in one URL, like a hyperlink. query length is limited to 260 characters, not secure, faster, quick and easy.
In POST Your name/value pairs inside the body of the HTTP request, which makes for a cleaner URL and imposes no size limitations on the form's output. It is used to send a chunk of data to the server to be processed, more versatile, most secure.

(Continued on next question...)

Other Interview Questions