What is the difference between doGET and doPOST methods

Questions by md.mohsin.khan

Showing Answers 1 - 12 of 12 Answers

vinod

  • Feb 9th, 2007
 

when we use in html we must use in servlet whereas when we use in html we can use or and doGet sends limited data doPost send unlimited data via network

  Was this answer useful?  Yes

suman

  • Feb 13th, 2007
 

Hi, In addition to the above , when we use doget() data ia appended in the url,s its a security constraint, but when we use dopost() data is send with the request object and data is not visible.

  Was this answer useful?  Yes

eswaripriya

  • Feb 19th, 2007
 

In doGet() method our details will be pass thro URL.So we have no security.
and also for every request there will be a (cookie like )  file allocted(in server side), to store the details abt the client, so our details may be present in server side.
But if we use doPOST() method these problems will be eliminated.

  Was this answer useful?  Yes

Reddy

  • Feb 20th, 2007
 

In doPost() , data is sent in the message body and not in the Request Object

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions