I am developing a from in which when the user submit the form ( using command button or command link) it should save the contents into the database , while the user waiting for saving into the database , i just want to show him something like Saving please wait ( of course all the elements in the form should be disabled during the waiting )..
"Bumping" is not encouraged on the JavaRanch. If you don't get an answer fairly quickly (meaning a few days, not a few minutes, since we don't get paid for this), it's usually because no one else knows either.
You can pop open a new browser window, but that kind of behavior really annoys some of us. You could simply modify the page view prior to actually submitting to display the message on the page body. Which goes something like this:
Customer surveys are for companies who didn't pay proper attention to begin with.
There are a couple of other ways I can think of where you could end the waiting message.
You could reload the page they are on to erase the message.
Or you could can do this using "Direct Web Remoting". I have an application where I do some processing that can take anywhere from 45
minutes to 2 hours. I use DWR to display a progress message so the user can see that something is actually happening on