wood burning stoves
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HEAD, PUT, DELETE HTTP methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HEAD, PUT, DELETE HTTP methods" Watch "HEAD, PUT, DELETE HTTP methods" New topic


Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Dear All,
Just want to see how these methods actually works? So how we can send HEAD, PUT, DELETE, TRACE request to the web server? We can send GET and POST using browser. Can we use browser to send these request to the web server?


Regards, Sharmila.
We will have a future if we save Nature!
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
No, HTML forms only support GET and POST. But you can use JavaScript's XMLHttpRequest object to send the other types as well: http://developer.apple.com/internet/webcontent/xmlhttpreq.html
Andriy Pererva
Ranch Hand

Joined: Jul 19, 2009
Posts: 73
Also you can use Apache HTTP Client library to programmatically generate different types of requests to your web-server

SCJP 6.0(95%), SCWCD 5(94%), SCJD (working on B&S v.2.3.1)
I agree. Here's the link: http://aspose.com/file-tools
subject: HEAD, PUT, DELETE HTTP methods
It's not a secret anymore!