This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android 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

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: 12982
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 ]
subject: Need examples -doOptions,doTrace,doHead
It's not a secret anymore!