This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets - doPut and doDelete

 
Kagalkar Praveen
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all
I am intrested to know the signifance with help of code for the methods doPut(...) and doDelete(...). Actually when to use and how to use.
Praveen
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those two are hardly used at all (I've never seen them yet) and I do not think all webservers support them.
doPut seems to be meant for things like uploading files, doDelete for deleting content from the server.
for doDelete, you can probably better do a POST of the request to delete something, and for doPut a POST requesting to store the included data.
Just my 2 eurocents
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the PUT and DELETE operations are also part of WEBDAV, which is becoming more popular as a server-administration method.
 
Kagalkar Praveen
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai
Thanks for your reply but i know that these are least used methods. I would like to know how to use them. If possible any give me a link to the sample code using them.
Thanks to all.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic