File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Need examples -doOptions,doTrace,doHead Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need examples -doOptions,doTrace,doHead" Watch "Need examples -doOptions,doTrace,doHead" New topic
Author

Need examples -doOptions,doTrace,doHead

meKenz
Greenhorn

Joined: Jan 20, 2002
Posts: 7
Hi ,
any body let me know brief examples for doOptions,doTrace(),doDelete,doHead(),doPut()
how to send these request to Servlet ?
Thanks in advance.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
This is not a simple/brief solution to your problem, but anyway. Go to the W3C site and download the HTML specifications to get the details of what these things do.
http://www.w3.org/
For making the connection, you will need to use the HttpURLConnection class in java.net - it has a setRequestMethod( String ) method.
Bill
[ January 21, 2002: Message edited by: William Brogden ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need examples -doOptions,doTrace,doHead
 
Similar Threads
How to call HEAD method ?
Clarrifications on doPut, doDelete
SCWCD 1.4 - HTTP Method Coverage
doHead(), doDelete(), doHead(), doTrace() etc..
idempotent