views:

19

answers:

1

Hello All,

I would like to have in my jsp when the user clicks on the submit button, a loading message or an image is shown while moving between the pages. So, how can I do that?

I tried to use some javascripts, but I did not success. Thanx

+2  A: 

If it is a complete page change, the loading indicator is already here in every browser.

If you update only a part of a page through AJAX, you may use AJAX progress indicator. According to the JavaScript framework you use, implementations may be different, so see the documentation or complete your question by specifying the framework you use.

MainMa