Not unless you want to do something via proxy or a ListAdaptor to your DataSource.
Extend AbstractList and override methods to load additional items from a transiently referenced datasource or service that can be looked up. We use this for our application where we have lots of data that we want to show for search results, but our initial selection, we just load a set of primary keys, and depending on the page of items to be shown, we lazy load additional objects from the DB by accessing a Service through a ServiceLocator. Jacob Hookom Senior Analyst/Programmer McKesson Medical-Surgical -----Original Message----- From: Dhruva B. Reddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 4:19 PM To: Struts Users Mailing List Subject: Pagination of Query Results Without Getting All Results At Once I am working on an application with a page that uses pager-taglib to break down query results so that only ten show up on each page. However, as far as I can tell, this tag library assumes that all the query results have been retrieved from the database. I have been tasked with modifying the app so that only the results that are actually displayed are retrieved (i.e., query per page view). I wanted to see if there is an easy way to do this before writing a solution from scratch. Is my assumption that pager-taglib cannot be used correct? Thanks, -d __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]