You can write a Javabean that represents your data - a variable and a getter & setter method for each element, e.g. authorId, authorLastName, authorFirstName
Create an array of these and create one for each record. Or another quick and dirty solution is to use CachedRowSet from java.sun.com - put that in the search & you'll find it quick enough. Adam Jacob Hookom wrote: >Hey, > >I've been trying to find a better way of removing the data from the >result set to a more reusable, iteratable object that can be used within >the JSP page. I can foresee running into conditions where results must >be stored outside the scope of the page; and data can be iterated over >multiple times. In addition, by extracting the data, we can guarantee >that the result set is closed properly the first time at the JSP. > >If you any suggestions on how to better extract the result set data to a >reusable, generic object, I welcome it. > >Best Regards, >Jacob Hookom >University of Wisconsin, Eau Claire > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

