Two Laptop Bag
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

Need examples -doOptions,doTrace,doHead


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

Joined: Mar 22, 2000
Posts: 13037
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.
For making the connection, you will need to use the HttpURLConnection class in - it has a setRequestMethod( String ) method.
[ January 21, 2002: Message edited by: William Brogden ]
I agree. Here's the link:
subject: Need examples -doOptions,doTrace,doHead
It's not a secret anymore!