Forums Register Login

Doubt in doPut and doPost

+Pie Number of slices to send: Send
Hi,

When i want to upload a file,I should use Post method and once the control reaches the servlet we have to process the file and store it on the server.

When we use Put method this will also place the file on the server and associates the location with the URI and next time when we use the same URL it will display the file that was place by Put method.

Post is for uploading the file and Put is for Publish the File is this correct. I need a simple working example for this i searched in this forum and net could'nt get musch info aprt from what i have stated above.

Thanks
Won't you be my neighbor? - Fred Rogers. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 729 times.
Similar Threads
Idempotence
HTTP POST maximum data size?
doPut() & doDelete() in servltes
Configuring DataSource (MYSQL 4.X) in struts-config.xml (Struts 1.2.9) at JBOSS 4.x
NX: about Property file, Policy file and Logger file
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:53:14.