• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to show the progress of a processing jsp page?  RSS feed

 
Kelly Khong
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP page doing a lot of processing, and hence requires the client to wait for a long time, say 15 mins, while it processes.
I need a way of letting the client monitor the process. Let's say the JSP page needs to process 500 records. I will process these 500 records in batches of 100.
Now.. my question:
I want to print out only 100 records at a time. after these 100 records have been processed, the same JSP page will show THE NEXT 100 records.
So, at any one time, only 100 records a page is displayed. The records which are finished, will not be displayed.
is there a way to do this? OR, any other easier/better ways that I can resolve the problem of letting the client wait blankly?
All suggestions welcome, please reply
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kelly, welcome to the Ranch!
Both of these question are very common and have been discussed in the past.
Please search through this forum, the Servlets forum, and perhaps the HTML forum for information on these subjects.
bear
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!