If you are using jstl don't use logic-iterate;

rather use <c:forEach items="${yourCollection}" var="beanInCollection">
then you can have <c:out value="${beanInCollection.property}"/>
or if it is straight string you can have <c:out value="${beanInCollection}"/>



Renato Romano wrote:


I have a bean with an indexed property, that is myBean.getItem(int i). I
can't find a way to access that property, using struts, struts-el nor
jstl. I tried the following:

<c:out value=${mybean.item[ind]}/>

Where ind is the indexId attribute of an ordinary logic:iterate struts
tag. (and c is the prefix for the core jstl tag downloaded from jakarta)
Where Am I wrong ?
Thanks

Renato

____________________________________
Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_____________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to