Hi Anas, a web application is supposed to answer incoming requests from its clients. Usually the client send a request in terms of GET or POST http messages.
The GET is supposed to let the client retrieve a remote resource (usually a file of whatever type [html, jpg, doc, ...]). The POST is for the same purposes, but it intended as the way for UPDATING the remote contents, so, while the GET just retrieve informations and not affect the status of the remote application, the POST is supposed to update it, for example updating a database. In this sense the POST is designed in such a way that you can attach a virtually unlimited number of parameters of any size, so you can send even files along with the POST request. This is the way a client can upload a file to a remote application. Up to the remote application to manage and store the file locally. This is only the initial conceptual idea from these types of requests were born, as far as I read somewhere, maybe in the HTTP specifications. The PUT message, instead, is supposed to send a resource to the remote application directly, but as far as I know is not used, as the POST is more versatile because it's intended to send more than one parameter. Please, this is only a rough memory I have, but I suggest to have a look here if you need further informations: http://www.ietf.org/internet-drafts/draft-ietf-httpbis-p2-semantics-05.txt Anyway On 10 Feb, 06:20, Anas <anas.ahmed.elsal...@gmail.com> wrote: > hi there > why this course not explain the use of doPut() method? > i read in some where else that i can program uploader by this > method ??? > can anyone help me with this ? > any useful links please? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---