>>> chris B <[EMAIL PROTECTED]> 31-Mar-00 2:52:33 PM >>>
>I have to write a servlet. This servlet must show an HTML form in
>which the user has to enter name, age and "attach" a picture.
>As he click upon "submit" the servlet has to get name, picture and
>store them in a database (the picture in a directory).
>I tried to use method="PUT" in form and method doPut() of
>HttpServlet but I can't get my servlet go into the doPut method...
>it "re-prints" the page with the form and does nothing. I have also
>a log into I try to write a message as I enter doPut, but, it seems
>the servlet does not enter the method ablsolutely.
Browsers don't support PUT. The browser is probably converting your
PUT to a GET.
Use POST if you want to send small amounts of data.
If you want to use PUT you'll have to construct an applet to handle
the communication.
Nic Ferrier
___________________________________________________________________________
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