File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Interim (Processing...) Web Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Interim (Processing...) Web Page" Watch "Interim (Processing...) Web Page" New topic
Author

Interim (Processing...) Web Page

Jason Barker
Greenhorn

Joined: Nov 03, 2003
Posts: 17
Hello all,

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
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
Yes.


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interim (Processing...) Web Page