I have a long-running app that uses htmlunit to simulate users of my website, as a test during development.
I am running this simulation from a jsp-servlet. I want the app to run for a long time, possibly for hours.
During each loop of the test I want to output a status message onto the webpage.
I am uncertain about which type of outputstream I should use.
Please suggest the code I should use for this outputstream.
Will a continuous outputstream keep the browser from timing out?
Any suggestions are greatly appreciated.