N
Nino Skilj
Hello,
I am currently trying to build a servlet with some deep calculations.
The servlet also handles some of the simple webpage displays as well
(using out.println()). My understanding is that servlets (when run)
will do all the calculations, prepare all the out.printlns, build the
html page and then return it for display... My question is this then:
Is there a way to "hurry" the output process while still doing
calculations? I want to do something like this...
//This should be displayed immediately
out.println("Please wait, calculation in progress....");
//This is where the logic would go
doCalculations();
Does this make sense? Is this possible?
Nino Skilj
I am currently trying to build a servlet with some deep calculations.
The servlet also handles some of the simple webpage displays as well
(using out.println()). My understanding is that servlets (when run)
will do all the calculations, prepare all the out.printlns, build the
html page and then return it for display... My question is this then:
Is there a way to "hurry" the output process while still doing
calculations? I want to do something like this...
//This should be displayed immediately
out.println("Please wait, calculation in progress....");
//This is where the logic would go
doCalculations();
Does this make sense? Is this possible?
Nino Skilj