In order to add a progress bar, you would need to process the servlet's response in client side. Then only you will be able to decide on when to stop the progress bar. In client side you can do some...