Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display "busy" window while query running in background

Status
Not open for further replies.

FaStOnE

Programmer
Jan 4, 2002
14
US
Wasn't sure where to post this, but thought I would start here.

I have several JSP pages that I build SQL Queries with for my office. Unfortunately, there are some queries that must be run across a 1 to 20 million record databases. What's the easiest way to have a "Busy" screen show up while the query is running in the background, so that the user doesn't think the window is locked up? Whether it's a miniature computer running around the screen or flashing text doesn't matter to me... I just want them to know (visually) that something is going on.

As a bonus, if there was a way to tell it how much has completed (percentage complete bar) that would be great... but, I can't think of a way to do that while executing a query.

Thanks for your help!

Rick
--Remember, 2 wrongs don't make a right! But 3 rights make a left!
 
You could use a DIV tag which shows the "Loading..." message.(sya div1)
I guess you would be displaying the data in html TABLE so it will display untill all the rows are filled.
So u put the table in DIV(say div2) and hide it,after getting all the data u hide div1 and show the div2.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top