You just need to transfer your ResultSet into a java.util.List of ActionForms or JavaBeans and everything should work fine. I use Hibernate which allows me to grab a list of POJOs from the database - slick stuff. My appfuse application has same code - UserAction.search() method.
http://raibledesigns.com/downloads/appfuse/api/org/appfuse/webapp/action /UserAction.java.html http://raibledesigns.com/appfuse HTH, Matt > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Oliver Thiel > Sent: Saturday, February 14, 2004 6:37 AM > To: [EMAIL PROTECTED] > Subject: [displaytag-user] Struts - Sample Code > > > Hi, > > > Could anyone provide my some sample code on how to use > the display tag lib with struts! > > I got the examples running in my struts app - using the provided > TestList's, but as soon as I start creating my one from a > resultSet I got some strange errors. So it would be nice if > someone could > send me some code how he/she did it! > > And also I would be interressting to know if it is possible > to have images instead of text for the column header? Sample > code very welcome! > > > Thanks and have a nice weekend ... > Oliver > > -- > GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 > EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++ ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

