What is the difference between Get and Post Method?

Answer Posted / alok kumar ranjan

Re: What is the difference between Get and Post Method?
Answer: (1). Get is Default Http Method, but in post method
you should specify the post method implicitely as follows:-
<form action=" " method="post"

(2) In Get Method,data is pssed in URL Pattern. But in post
method data is passed with in method body.

(3) In Get Method,Size of URL is limited because of this e
can send only limited amount of data to server using the
get method. But in Post Method,We can send the data
unlimited amount of the data.

(4) Get Method is not secured because data can be seen in
URL. But Post Method is very Secured.

(5) Through Get Method,We can not send data to server But
In POst Method,We send the data to server

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between PrintWriter and ServletOutputStream?

771


What is the use of request dispatcher interface?

569


Whether we can get deadlock situation in servlets?

578


How can we implement a jsp page?

631


What is the difference between portlet and servlet?

514






What is the workflow of a servlet?

719


What is the default http method in the servlet?

766


How can you use a servlet to generate a plain text instead of html?

595


What is servlet and its life cycle?

572


What is servlet container. how it works?

615


How we can call a jsp from the servlet?

535


What are the types of Session Tracking ?

648


What are the different session tracking techniques?

681


What are the exceptions thrown by servlets? Why?

625


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

543