Hi,
javax.servlet.http.HttpServlet has a method doHead(HttpServletRequest 
req,HttpServletResponse resp)
which says this method receives an HTTP HEAD request from the protected service method 
and handles
the request.
The client sends a HEAD request when it wants to see only the headers of a response.
There are other methods as well like doOptions(HttpServletRequest 
req,HttpServletResponse resp)
which says
this method is called by the server (via the service method) to allow a servlet to 
handle a OPTIONS
request.
The OPTIONS request determines which HTTP methods the server supports and returns an 
appropriate
header.

How can I invoke these methods of the servlet from browser.
I tried using
    <form name="form_name" method="head" action="servelt_url_here" >
but it didnt work, and the request was directed to doGet method (which is default 
method from
browser ) of servlet.
I tried this using IE 5.0 , IBM Websphere 3.5 .

Thanks
-Suresh

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to