This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: servlets method