Sounds like a Map might be more applicable - names as
keys, surnames as values.
--- Vincent Peytavin <[EMAIL PROTECTED]>
wrote:
> 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
>
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]