show progress bar while running different download methods in Java
posted 2 years ago
I am new for Spring ,Struct and Hibernate Frameworks , now i have done up to download methods working fine and correct . When i have click button all different download methods generated so i need to call progress bar while running different methods . because methods take some to generated so that progress bar required to implement in that code please let me know how i can do in jsp and java code .
example : A method takes 20% and B Method takes 40% and last Method takes 100% how i can pass value from java to jsp and jsp to java page .
Note: I heard AJAX possible to implement progress bar with java please let me know full support of sample code .