tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: [OT?] Servlet, redirect and progress-monitoring?
Date Wed, 02 Aug 2006 12:45:26 GMT

David Smith wrote:
> I suspect what you really have to do is set the PDF generation off into
> a background thread, storing a reference to the thread in the session. 
> Then return with a refresh every 10 - 15 seconds until the thread
> finishes.  Clean up after the thread so you don't end up with memory
> leaks and possibly implement a listener to clean-up any abandon threads
> when the session is destroyed.

Check out the "multiple t hreads" (note the space) discussion from the
17th of July, where the thread gets really off-topic and we start
talking about how to do this sort of thing.


View raw message