user652257 wrote:It doesn't matter.
I am uncertain about which type of outputstream I should use.
Please suggest the code I should use for this outputstream.There's nothing special about this. You know how to write to an Outputstream, don't you?
Will a continuous outputstream keep the browser from timing out?Yes, at least it should.