On Apr 21, 2008, at 7:40 AM, Zenin, Ruslan wrote:

> Hello all,
>
> Is there any callback events available for Stripes file upload? I'd  
> like to show a progress of the large uploads (big files that are  
> uploaded via slow connection).
> I've seen some websites that show pretty nice upload progress via  
> AJAX div tag...
>
> In Stripes, FileBean becomes available only when upload is  
> finished...therefore if file takes 5 min to upload...I'd not have a  
> chance to provide user in the browser with the progress of the upload
> (e.g.% uploaded so far, estimated time to finish upload, avg.  
> speed, etc.)
>
> Perhaps I'm missing something and callback events for file upload  
> already exists...or may be there is another way...

No, you're pretty much stuck as far as that goes. I think it would be  
valid to send an RFE to the JIRA to ask that perhaps something like  
that could be exposed to the ActionBean, though I wouldn't  expect it  
for 1.5. But for now you'd pretty much have to write a servlet to  
handle the upload part I think.

Regards,

Will Hartung


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to