commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew <>
Subject Re: Upload File + ProgressBar
Date Fri, 30 Mar 2007 20:24:50 GMT
Yes, it is possible.  You have to implement your own FilePart class 
though (which really isn't that hard).  Just extend FilePart and then 
override the sendData method.  If you want a real easy way to do it, 
wrap the InputStream in a ProgressMonitorInputStream.  That is how I did 
it.  Hope that helps!

Tatiana Lloret Iglesias wrote:
> Hi all,
> I'm using httpclient class to connect my stand-alone application with a
> servlet which performs a file upload.
> Everything works fine but ... I would like to display a progressBar to
> indicate the upload progress ...
> Is it possible? Right now I only interact with the server part to send 
> the
> request and get the final response after file uploading....
> Thanks!
> Regards
> T

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message