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
Joined: May 24, 2004
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