Posted on 2002-06-20
I have a jsp that takes a long time to load. I would like to trigger the jsp that takes a while and then display a gif that indicates that progress is still being made on the page request so that the user gets feedback that the search is still being performed. Then, when the page finally finishes downloading, I would like to swap out the image that indicates activity with another image that indicates that the jsp is done or no image at all.
Now, is there a way to detect when a jsp is done downloading? Also, what is the best mechanism to swap the done image in for the downloading image? Thanks!!