Hi all,
In the jsp page I sent a collection which contains integer and string
values:
[1, "A", 2, "B", 2, "C", 1, "D", 2 , "E", 3, "F", 3, "G"]
In the page I want to obtain the data (strings of the collection) in the
correct level (integers of the collection)
A
B
C
D
E
F
G
In the jsp I have:
<logic:iterate name="estructuraAsociacion" id="estructura">
//Si el valor de la collection es un integer ????
<c:set var="espacios" value="${estructura}"/>
//Fin si el valor de la collection es un integer ????
//Si el valor de la collection es un string ????
<tr>
<td>
<c:forEach begin="1" end="${espacios}">
 
</c:forEach>
<c:out value="${estructura}"/>
</td>
</tr>
//Fin si el valor de la collection es un string ????
</logic:iterate>
¿Is this idea correct? If yes, how can I know if the actual value of the
collection is an integer or a string? If my idea is not correct, could you
guide me???
Thanks a lot
Regards,
Paco
_________________________________________________________________
Descubre la descarga digital con MSN Music. Más de un millón de canciones.
http://music.msn.es/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]