Here's what i want.
I have a web page with a form, and i use a submit button to submit the data to a servlet.
While the servlet performs operation on the data, I want a gif animation to be shown to user.
I have a web page with the gif animation, so on submit i want 3 things to happen.
1. submit the data to servlet (post method)
2. open the "loading.html" page
3. once the servlet completes redirect to the results page.
Bear Bibeault wrote:Another approach -- perhaps even more complicated -- is to perform the processing in a separate thread so that the response can return immediately. The user can come back later to check on progress.
I am also trying to achieve similar goal. Can you please refer to any example or docs?