You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nikolaj Berntsen <kn...@mobilepeople.dk> on 2006/06/22 13:13:21 UTC

Re: How can I transfer a file to a struts based web application f rom a java application

Shoukat, Faisal wrote:

>Thanks, but I don't see how JFileChooser will help - my application
>can already obtain a File what I don't get is how to transfer the file
>via http to be processed by the struts application.
>  
>
I am pretty happy with httpunit.org, not just for unit testing, but as a
generic http library. I think this page has the info for how to make
file uploads:

   
http://httpunit.sourceforge.net/doc/api/com/meterware/httpunit/WebRequest.html

Cheers,
/\/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org