Progress Bar showing percentage of completion of import status

I am having a import functionality to import the data via Excel sheet and there is a client requirement to show the percentage of the import completion when the user performs the import operation.    I tried to use the progress bar widget but that requires the current value(also requires the refreshment of the page when Current value changes to show the real-time percentage)  but in my case the whole import action is done using the java action so the first thing is I can't get the current value(means how many objects have been created ) and the second problem is if anyhow I get the currentValue also then I have to refresh the page because then only I can show the exact percentage completion.   So I don't think I can achieve this using the progress bar widget So if anyone has any idea how I can achieve it then please let me know .
0 answers