Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between post and put methods in servlets

 
vedala V.S.Bharani kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

Any One plz. explain the differences between put , post methods.

Thanks for all replys
 
Cm Ananth
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm guessing the following points..

POST is for posting some data to the server..
--- POST data can be some information that is sent to the server as part of the request body.

PUT is for putting a file into the server..
--- By using <input type=file> tag u can pass a file to server.. So if u r using that tag then the PUT request will be generated..


If something wrong, please correct it.

Thanks..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic