File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HEAD, PUT, DELETE HTTP methods" Watch "HEAD, PUT, DELETE HTTP methods" New topic
Author

HEAD, PUT, DELETE HTTP methods

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?

Thanks


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

Joined: Mar 22, 2005
Posts: 39547
    
  27
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


Ping & DNS - updated with new look and Ping home screen widget
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
 
Similar Threads
General Query on HTTP request generation
Two questions
How to trigger HTTP requests
Why no Exception for PUT,Delete,Trace....
sessionId