You can find several possible solutions to this by Googling "JSP please wait message". I've used the technique demonstrated in
this link before, and found that it works pretty well. The example is written for
JSF, but the technique can be used in any
JSP.