I have JSP web-form which uploads a file. In java code, I have a statement like this:
As this web interface should be used over a network, and not internet, file upload ends pretty quickly, but DB loop lasts for minutes (if file is longer).
How can I give indication of loop's progress to the user? Percentage or progress bar would be ideal, printing a dot for each line processed would be acceptable.
Any combination of technologies are in play: javascript, multithreading, (I allready use iframe on the form page), etc...
Also, when explaining, you should have in mind I am new to java platform (I have more experience with ASP.net).
Code:
for all lines in txt file uploaded call DB stored procedure
How can I give indication of loop's progress to the user? Percentage or progress bar would be ideal, printing a dot for each line processed would be acceptable.
Any combination of technologies are in play: javascript, multithreading, (I allready use iframe on the form page), etc...
Also, when explaining, you should have in mind I am new to java platform (I have more experience with ASP.net).
Comment