struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: JSTL and the Value Stack
Date Wed, 18 Apr 2007 00:06:04 GMT
--- Ray Clough <> wrote:
> My Action has a method "public Exporter
> getExporter()".  If I use the struts2 
> tags I can access the "exporter" with 
> <s:iterator value="exporter.nameValuePairs" >, 
> and it works fine.  If I use the jstl syntax 
> <c:forEach items="${exporter.dataMatrices}"
> var="matrix" >, nothing is found.  How do 
> I get the jstl tag to work here? 

Without knowing what an Exporter is, I don't really

You're using two different property names; did you
mean to? 

Does Exporter follow JavaBean naming conventions for
both of the properties you're accessing?

Use <s:iterator.../> but handle the inner loop with


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

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

View raw message