On Tue, 31 Jul 2001 02:08:31 -0700, Maros Ivanco <[EMAIL PROTECTED]> wrote:
>I am trying to create servlet which should serve the http PUT requests form the
>client. Please, can anybody tell me how can I test such servlet? Is there any way to
>create PUT request?
You can use the HttpUrlConnection class to test the servlet. You can set the method
there as PUT by using the method setRequestMethod().
Also the service method of the servlet is invoked for all the requests. The default
implementation of this method delegates the request to doGet/doPost/doPut.. methods.
You may override this method to have custom behavior.
regds,
Gokul
>
>Help!
>
>Sincerely,
> Maros Ivanco.
>
>___________________________________________________________________________
>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
>
___________________________________________________________________________
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