Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display waiting/loading messages until data is displayed to the user

 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to display waiting/loading messages until data is displayed to the user in jsp?

iam doing some search kind of application in jsp...
when the user clicks the search button, data will be retrieved from the database and displayed to the user..
there is some time delay while retrieving data from database and showing it to the user.
i want to show some message for example "Data Loading..." message to the user in the time delay..
Can any one suggest me some ideas of doing it...

Note: everything is in jsp's, once search button is click data will be send to another jsp which will retrieve data and show it to the user..
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Abhishek,
When the user clicks the search button take him to a jsp page which shows some message like "Please wait while we are searching.." in this page forward the search request to the servlet, until the search is finished the user will see the wait message.

Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic