• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pagination advice

 
Amar Naik
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am trying to do a pagination for data that is retrived from Oracle tables. The data that is retrieved is huge.
i was thinking if i can read all the data and dump it to a file. then display the results from file lets say 10 records at a time .

Is this a write approach? Is there some other approach which might be better. Please advise.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was the JSP FAQ entry on this subject not hepful?
 
Some One
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you 'dump' it in a file? This would definitely pollute your file-system.

You might consider using an appropriate solution such as DisplayTag.
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Was the JSP FAQ entry on this subject not hepful?


Wow, great answer!

Thank you,

Garrett
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Garrett Smith:
Wow, great answer!
The purpose of the FAQ is so that answers to commonly asked questions like this one do not need to be repeated again and again and so that posters can get answers quickly without the need to wait for others to post.

It is clear from the original topic that the OP either did not read the FAQ, or did not find it useful.

If the former, my post was a friendlier way of pointing out that the FAQ exists than something along the lines of RTFF. If the latter, then finding out where the FAQ is lacking is the first step to improving it.

May I ask why you seem to take issue with that?
[ May 26, 2007: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!