This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes Displaying more than 500 records per page in a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Displaying more than 500 records per page in a jsp" Watch "Displaying more than 500 records per page in a jsp" New topic
Author

Displaying more than 500 records per page in a jsp

sandeep wagh
Greenhorn

Joined: Aug 01, 2007
Posts: 9
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying more than 500 records per page in a jsp
 
Similar Threads
Display lakhs of records in JSP with paging?
how the pagination is achieved in java
want to display results page by page
Records per page
Memory Utilization When Using JDBC