Hi,
I suggest you to use observer and observable design patterns.
Your jsp page would be the Obsorvers.
Obervers should subsribe to the Observable objects to be fired when an defined event occurs.
Thread downloading the pdf File would be the Observable.
When the thread finish downloading it should fire it obervers so they could modify their display.
look at this article to have an idea about Observer design pattern :
Observer_pattern[
^]
Best regards.
EL GAABEB.