• Post Reply Bookmark Topic Watch Topic
  • New Topic

doGet and doPost  RSS feed

 
Nilesh Srivastava
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
What is the difference between doGet and doPost methods.
If I submit a form then by default it calls doGet or doPost.
Thanks,
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
with doGet the information from the form is sent in the URL eg
www.mydomain.com/something.jsp?field1=value1&field2=value2&field3=value3
with doPost the information is sent to the server seperately
 
Sainudheen Mydeen
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

-Sainudheen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!