This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlets method 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 "servlets method" Watch "servlets method" New topic
Author

servlets method

Vandiyadevan senthan
Ranch Hand

Joined: Nov 11, 2003
Posts: 37
Goodday to all,

I have one ques with me abt the functionality of few methods in servletRequest interface.

When we will we use doTrace() & doOptions() methods in real time application?

Appreciate your valuable feedback on this.

Best Regards,
Senthan
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
Probably never...

The TRACE HTTP method is asking for a trace of the actual request, so the client can see exactly what is being recieved by the server. This is used only for testing and troubleshooting.

OPTIONS asks for a list of the http methods to which the requested resource can respond. For example, "Allow: OPTIONS, TRACE, GET, HEAD, POST".


“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
 
 
subject: servlets method
 
Similar Threads
Defining setters as interface methods ?
GeekWatch hint needed.
can we override the static methods ?
private method
how to create a new entity bean without insert new records