• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to show the progress of a processing jsp page?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic