people said:" doPost --- used to transfer client information to the server doPut --- used to provide a new or replacement document to be stored on the server ".
what the problem is , doPost still can store data on the server, for example, use serialized bean or database.
please correct me.
posted 12 years ago
A PUT request is used to publish a resource on a server and associate it with the Request URI. Eg. Suppose a file new.html is PUT on a server using the request URI http://www.testserver/old.html, the server stores new.html in the file system and associates 'http://www.testserver/old.html' to new.html The file name is independent of the associated URI.
POST is used to transfer data to the server for processing.
SCJP 1.4, SCWCD 1.3
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads