Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Various Request Methods  RSS feed

 
Sarthishari Kumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
I came to know that there are various Request methods available other than GET and POST.
PUT
DELETE
TRACE
OPTIONS
HEAD
Can anyone explain what are these Requests about and how can it be handled using Servlets.
I also refered to Servlets API. There are special doPut,doDelete methods to handle them.
Help me in this regards
Sathish
 
Andy Bowes
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest that you have a read of the Servlet API
It explains all of the methods in quite some detail:
PUT - Creates a new 'file' on the server.
DELETE - Removes a 'file' from the server.
TRACE - Echos the Request Header details so that they can be used in debugging.
OPTIONS - Provides a list of the methods that are supported by the servlet.
HEAD - Prompts the servlet to return just the header info with no content.
 
Sarthishari Kumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanx for ur Reply
Yeah i have read the Servlet API??
I would like to handle Options Request using Servlets.
doOptions() method is not working???
Help me in this regard..
Sathish
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!