I have two vectors of the same length. I can iterate over one and retrieve
values. How can I use the index of that iteration to reference the other
vector?

For example
vOne = { 1,2,3,4 }
vTwo = { a,b,c,d }

I iterate over vOne producing 1,2,3,4,
<logic:iterate id='item' name='vOne' indexId='idx'>
        <bean:write name='item'/>,
</logic:iterate>

How can I get the output to produce 1:a,2:b,3:c,4:d,?

(note the formatting is not important, just interested in how to reference
vTwo using vOne's idx)

thx



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

Reply via email to