Suresh wrote:
>
> javax.servlet.http.HttpServlet has a method doHead()
> .. doOptions()
>
> How can I invoke these methods of the servlet from browser.
>
You can't. Try telnet'ing in and typing the HTTP commands
manually. Something like:
$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OPTIONS / HTTP/1.1
host: localhost
<cr>
<cr>
HTTP/1.1 200 OK
Content-Length: 0
Allow: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS
Date: Fri, 15 Mar 2002 05:01:20 GMT
Server: Apache Tomcat/4.1-dev (HTTP/1.1 Connector)
<^]>
telnet> quit
Connection closed.
The indented bits are the results, the non-indented bits
are what you type in.
--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com
___________________________________________________________________________
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