*
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
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: 12682
    
    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 ]

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need examples -doOptions,doTrace,doHead
 
Similar Threads
SCWCD 1.4 - HTTP Method Coverage
Clarrifications on doPut, doDelete
idempotent
How to call HEAD method ?
doHead(), doDelete(), doHead(), doTrace() etc..