hmmmm?
Maybe you could try this, but it comes without a waranty.
When you click on the submit button (if it is a form) have it pop up a new window that says processing form while the other page loads behind it. When the othe page loads add a java-script (I can't give it too you since I do not know java) somwhere in there that closes the pop-up message. That should be one way to get arround your problem. Someone that looks at this board must know java script, I hope they see your post.
Good Luck
Alfred