user652257 wrote:Do you need to use IE?
Hello. I have a java-jsp program that I initiate from a webpage using internet explorer.
I click on a button and then the program runs a simulation which loops for an extended period.How long is an extended period?
I guess the problem is that the browser times out after about five or ten minutes.Yea, they have a habit of doing that.
How do I run a program from the browser that keeps running for a very long time?Either fiddle with the timeout settings, or modify the program so that you don't need to wait for a response for that long.
I also want to update the page with each loop of the program, in which a loop count and status code generated by the program is displayed on the web page for the entire duration of the program.Then go for it. Just stream the content back to the browser (I'd do this from a servlet instead of JSP).
user652257 wrote:I didn't ask that. Internet Explorer isn't the only browser available.
I prefer to do this in a browser
Can you suggest a few keywords I can search for to learn how to adjust the timeoutHow about "browser timeout"?
and do the streaming?That's just writing to the outputstream from a servlet, you should definitely know how to do that.