From: dbm_mailinglist [mailto:[EMAIL PROTECTED] Subject: RE: Struts and Displaying data from a database > I guess that's where I get lost. What does the bean return so > that it can display multiple rows in the JSTL/JSP? I guess > the type of the 'getter' would be some type that allowed you > to loop through the data....an array maybe?
One of the bean's properties would yield a collection of (other) beans. Each bean in that collection would correspond to one row of the HTML table. You can use <c:forEach...> to iterate over that collection. Another poster mentioned the DisplayTag taglib, which is very good for this sort of thing (www.displaytag.org). -- Tim Slattery [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]