Hourglass in a servlet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   doug_dunn
Posted On:   Tuesday, November 27, 2001 11:08 AM

From a servlet is there a way to display an hourglass while a query is running and the turn it off. I have several queries that return a bunch of rows and the user would like and hourglass to be displayed until the query is done. Is this possible?

Thanks,
doug_dunn@cargill.com

Re: Hourglass in a servlet

Posted By:   Christopher_Schultz  
Posted On:   Tuesday, November 27, 2001 11:21 AM

Nope.



The best thing to do in this case is to start your queries in a new thread and return to the user immediately with a "Please wait" message.



Put a META REFRESH tag in the "Please wait" page and have it hit a URL which runs a servlet asking the thread if the query is done. If it's not done, re-display the "Please wait" page. If it is done, display your results.



-chris
About | Sitemap | Contact