Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

progress bar for file upload

909925Nov 1 2013 — edited Nov 1 2013

Hi All ,

I am developing a functionality to show progress bar on file upload . Based on the available byte in input stream i am setting value for BoundedRangeMode.

Before starting the upload process i set poll interval 100 ms and at the end of upload i am setting it back to -1 .

I have a poll listner which is updating the value of BoundedRangeMode after every 100 ms .

What i found that poll listner is not fired until the completion of entire upload process .Once upload is completed poll listner is invoked .

Can anyone please guide me what changes i need to do inorder to show live status of upload .

Regards ,

Arun.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 29 2013
Added on Nov 1 2013
4 comments
854 views