File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlets method

 
Vandiyadevan senthan
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 783
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic