I have a
jsp that I want to display a "please wait while your query processes" message once a query is 'submitted.'
After displaying this (in the same .jsp), I want to loop like (pseudo code) :
while (queryStatus != finished){
sleep(a little while);
}
//once query is complete
<jsp:forward to results.jsp to see results>
The problem is: the page wont display until the loop completes (in other words, the "please wait ..."
string never comes up. It does nothing until the queryStatus = finished - then if forwards to the result.jsp
Is this by design or am I doing something wrong? What can I do?
[ November 04, 2003: Message edited by: Chris Garrison11 ]