Originally posted by Sonali Salunkhe:
Thanks for quick reply
I m new to J2EE& trying different things.
Normally we said doPut() method is used for uploading anything on server side.
Lets assume,i want to do the file upload in servlet,so if i go with post(), it works fine, but if i replace doPost() with doPut(), it won't work.
Does it mean that it depends on browser settings?( http version : 1.1)
Called by the server (via the service method) to allow a servlet to handle a PUT request. The PUT operation allows a client to place a file on the server and is similar to sending a file by FTP.
Originally posted by Paul Clapham:
It seems to me that if you had <form ... method="PUT"> in your HTML then the browser might possibly use the PUT method, and your doPut() method might possibly be called. Interested parties could try this.