RE: Pagination Questions

2008-11-30 Thread Martin Gainty
ot endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Mon, 1 Dec 2008 09:40:50 +0800> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Re: Pagination Questions> > Hi Adam,&g

Re: Pagination Questions

2008-11-30 Thread KE LI
Hi Adam, Thanks for your reply. I am doing pagination like this now since I found that using index to do searching from a range of record is quite fast, much faster than I thought before. So I just use your suggested solution. 2008/11/30 Adam Ruggles <[EMAIL PROTECTED]> > > Personally I think

Re: Pagination Questions

2008-11-29 Thread Adam Ruggles
Personally I think it would be a bad idea to buffer the data from the db, since most users when performing a search will only look at the first page of results. It would be better to simply return a limited set of results from the DB. Otherwise you might be fetching data the user will never see.