File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Wait for the Server Output to complete Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Wait for the Server Output to complete " Watch "Wait for the Server Output to complete " New topic

Wait for the Server Output to complete

Vinoth Selvaraj

Joined: Jun 07, 2006
Posts: 18

In one of the application, the client browser access a JSP which will access the DB to generate more than 300 tables(each table with 10rows) in the response. The problem is that the client page is getting populated with the tables continuously and so the client processor utilization is 100% for some time.

I am thnking that this problem can be solved if we show some intermediate page that shows a progress bar or a gif image until the server response is completely generated in the server side.

Do you have any idea about how this can be done? Or please suggest me how we can rectify this problem?


Vinoth Selvaraj
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I think, regardless of when you send it, that much data is going to tie up the user's machine for a while. Do you really need to send that much to one screen? Would it be possible to page this report instead of sending it all down at once?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Wait for the Server Output to complete
It's not a secret anymore!