• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying more than 500 records per page in a jsp

 
sandeep wagh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have to display about 500 to 1000 records per page in a jsp and those records are coming from an arraylist. Will it be a performance hit and if yes how can i avoid that. Just to be explicit the records will be shown using the display tag in a jsp.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
377
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sandeep wagh:
Will it be a performance hit and if yes how can i avoid that.

Yes. By definition you would be creating and downloading a huge page. The best way to avoid the performance hit and create a more usable page is to add paging and only show 20, 50, etc records at a time.

When was the last time you read 1000 records on a page? Did you enjoy the experience? Was it easy and clear to use?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic