I have an iframe that is used to show status on various things and one of those things 
is mail progress.  Right now the status page goes through it's chores and shows the 
status as it's being run. So when it's checking mail, it checks the mail and shows a 
progress bar and "Retrieving x of y messages." and x and the progress bar are being 
updated regularly.  

Now the problem is that sometimes if you leave the page too soon, the retrieving mail 
function does not finish, so it doesn't get all  the messages and it doesn't delete 
them off the mail server.

So the fix would obviously be to run a thread so that it wouldn't stop when you leave 
the page.  But this doesn't work very well, because you can't keep the status updated 
because the status page finishes before the thread even gets going, so now it checks 
mail good, but you can't see the status.  

Any ideas on this?  Thought of an infinite loop that would keep checking the message 
number on the thread, but what's the life cycle of the jsp page?  Does it get killed 
by something or would the loop continue on forever?  

Travis Reeder
Chief Software Architect
www.ThinkVirtual.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to