You can't upload a document using a GET request.  Stick with your HTTP
post form.

Hubert

On 8/29/05, Anuradha S.Athreya <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I am using Struts Upload. I want to understand the intricacies of using File
> upload using Struts.
> In our JSP/ HTML, we use a form with enctype ="multipart/form-data" and the
> HTML - file to upload a file using HTTP post.
> 
> Now, If I were to spcify the same request in the Browser;s address bar, what
> should it be?
> http://localhost:20000/myApp/uploadDocument.do?name=myFile&file=test.txt&enc
> type=multipart/form-data
> 
> My Action form has the field : name and file.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to