Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File upload Progress bar in struts2?

Tags:

java

struts2

I want to implement file upload progress monitor bar over file upload functionality of struts 2... ?

like image 252
Dhruv Bansal Avatar asked Apr 13 '26 06:04

Dhruv Bansal


1 Answers

One way to use ajax-file-upload-struts2 which is Ajax based but not so active in development.

Other option is to use plain JQuery code with execute-and-wait-interceptor.The ExecuteAndWaitInterceptor is great for running long-lived actions in the background while showing the user a nice progress meter, So when the upload is in progress you can keep showing some kind of progress animation to user.You can also play around with S2-JQuery plugin also.

like image 85
Umesh Awasthi Avatar answered Apr 15 '26 18:04

Umesh Awasthi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!