individual instance information - Long Running Process
posted 7 years ago
I have a Java app that has a servlet front end.
Within the app i have a long process that i am retrieving percentage information (within a while loop).
http://simple.souther.us/not-so-simple.html -> Long Running Process, is basically what i am doing at the moment.
But if you run two version at the same time, both pages end up with the same information (percentage info jumps between where the two processes are up to).
What I'm chasing is a way of making this work with each visitor/instance getting individual information/feedback
How can i get the % info out of the while loop and into a JSP or servlet so the the user knows where they are up to.
Eventually i will have milestone class or servlet, for where each process is up to and this information will be fed back to the user.