Zenin,
Stripes doesn't have native support for that yet. It will probably make 
it into 1.6 but will require use of commons-fileupload because cos 
doesn't have any support for upload progress. There is already an entry 
for JIRA: http://stripesframework.org/jira/browse/STS-184

I did create an upload listener for Stripes a long time ago but it's 
pretty rough. I can dig it up if you're interested.

Aaron

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...
>  
> Any ideas/suggestions?
>  
> Best regards,
> Ruslan
> ***************************************************************************************************
> The information in this email is confidential and may be legally privileged. 
> Access to this email by anyone other than the intended addressee is 
> unauthorized. If you are not the intended recipient of this message, any 
> review, disclosure, copying, distribution, retention, or any action taken or 
> omitted to be taken in reliance on it is prohibited and may be unlawful. If 
> you are not the intended recipient, please reply to or forward a copy of this 
> message to the sender and delete the message, any attachments, and any copies 
> thereof from your system.
> ***************************************************************************************************
>
> -------------------------------------------------------------------------
> 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
>
>   


-------------------------------------------------------------------------
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