Hi Andrew, I ran into similar problems. Anoter developer on the team wrote a tag. It extracts the paging information and goes to the database table to find out the total number of records.
The tag retrieves and displays only "the first set" of records in accordance with the paging specification (say 10 records) together with links labeled as 1, 2, 3, 4, 5, ...... at the bottom of the page. And the tag goes to the database table to find and display the next set of records in accordance with the specific link that is subsequently clicked by the user. The problem is that the tag works only in the "session" scope and also suffers performance hit when accommodating large number of users who are online simutaneously. Is there any better solution? -Caroline --- Gareth Evans <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > I suggest using displaytag with its external paging > and sorting features > > http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html > > Gareth > > Andrew Martin wrote: > > I am interested to know the âbestâ practice > for navigating through long lists. At the moment we > have implemented Struts-layout for this purpose. Our > implementation currently retrieves the full dataset > and uses Struts-layout sorting and navigation pager > options to navigate through the results. However the > drawback of this approach is in performance as our > application will contain long lists. > > > > I have read many articles and browsed many forums > but havenât yet been able to find a âbest > practiceâ or ideal approach. > > > > Andrew > > > > -- > Gareth Evans > > Senior Developer > > MSoft eSolutions Limited > Technology Centre > Inward Way > Rossmore Business Park > Ellesmere Port > Cheshire > CH65 3EN > > -- > Tel: +44 (0)870 0100 704 > Fax: +44 (0)870 9010 705 > E-Mail: [EMAIL PROTECTED] > Web: www.msoft.co.uk > > ---------------------------------------------- > Terms: > Please note that any prices quoted within this > e-mail are subject to VAT. > All program details and code described in this > e-mail are subject to > copyright © of MSoft eSolutions Limited and remain > the intellectual > property of MSoft eSolutions Limited. > Any proposal or pricing information contained within > this e-mail are > subject to MSoft eSolutions' Terms and Conditions > ---------------------------------------------- > Disclaimer: > This message is intended only for use of the > addressee. If this message > was sent to you in error, please notify the sender > and delete this > message. MSoft eSolutions Limited cannot accept > responsibility for viruses, > so please scan attachments. Views expressed in this > message do not > necessarily reflect those of MSoft eSolutions > Limited who will not > necessarily be bound by its contents. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]