struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: Dynamic data html generation
Date Thu, 08 Jul 2004 19:56:09 GMT
From: "JoAnn Lemm" <jlemm@CAMELBACKRA.com>
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message