On my company's intranet, I need to provide a web form to accept user input. The form accepts parameters for a report that will be generated as a text file. Once the user submits the form and I verify it for valid content, I need to generate a web page that displays a PROCESSING status along with the elapsed time since the web form was submitted. The initial handling of the form data needs to initialize a report object that would run on its own while a PROCESSING status page was returned to the user's web browser. This web page (JSP) would continue to refresh itself (maybe every 30 seconds) until it found the text file. Once it did find the file, it would change its output from a PROCESSING status page to display the actual results of the report.
My question is this: what should I do to create a Java object and have it continue processing without the request object having to wait for the object to finish execution? Would this require a thread?
Thanks for your help! Jason
posted 10 years ago
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?