This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a long running servlet and would like to display the progress of this process. For example the JavaRanch search engine does this by displaying how many pages have been found so far. Has anyone implemented this type of process using servlets? Thank you in advance, Joe
I saw a suggestion the other day that the simplest way to accomplish this is to start a separate Thread doing the work and send a complete page that says "working". This page to have code to automatically request a refresh after a delay. Every time the refresh request comes back your servlet looks to see if the working Thread is finished. Bill