Progress loading bar in java with struts framework
posted 6 years ago
i currently using struts framework in my web application. Currently, i have a part where the application will retrieve data from the database and may take some time.
Therefore my design is this:
The user will click on the button in the retrieve.jsp.
The page will calls the action class
The action class will calls the delegate class
The delegate class will call the database class and retrieve the data. Then it will proceed back to the action class and action class will call the display.jsp
I like to ask if are there any examples online where i can implement a progress bar and this bar will stop and proceed to the display.jsp once it finish retrieving the data from the database.
I google for some time, but i can only find examples where the progress bar does not really check if the data has been retrieve which means the programmer will set the duration of the loading bar.