struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: Dynamic data html generation
Date Thu, 08 Jul 2004 19:56:09 GMT
From: "JoAnn Lemm" <>
> I have a set of data that needs to be displayed in an html table. Each
> column has its own formatting.  The data are stored as rows in an
> ArrayList in the Form bean.  How can I create this HTML table using
> struts without resorting to building the table in the bean.

I would use JSTL tags (c:forEach) to iterate over the ArrayList and display
the data.  But there are other ways, also.  Struts doesn't tie you to any
particular way to display things, so use what works best.

Wendy Smoak

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message