Hello,
I have 2 arrays, where elements correspond, that's to say list1[i] go with
list2[i].
For example, imagine list1 stands for "names" and "list2" for "surnames".
names[0]=Peytavin surnames[0]=Vincent
names[1]=Jackson surnames[1]=Michael
...
The difficulty is to set in a variable 'surname' (<c:set>?) the element
value with index i (i being defined in the loop which handles "surnames"
list), in order to be able to manipulate 'surname' with the same possibility
as 'name'.
(I hope I'm clear!)
<c:forEach var="nom" items="${liste1}" varStatus="i">
// Something which puts in 'surname' the value of 'list2[i]'
</c:forEach>
Thanks for your help!
--
Vincent