I am calling a heavy background process in action class. While the process is being completed i need to display a progress bar on
jsp page and periodically check whether the process is completed and if yes then display result page.
Please help how it can be done with threads.