Hi all,
I have a
java object which is in session. It is a list (userList).
I also get an id value in my URL.
I would like to use this id as the position in the list from which to retrieve an element.
Not-working code:
<bean

arameter id="idxUser" name="id" />
<bean

efine id="test" name="sessionController" property="userList[$(idxUser)]"/>
Working code (where I hardcode a
test value):
<bean

arameter id="idxUser" name="id" />
<bean

efine id="test" name="sessionController" property="userList[0]"/>
Does anyone know how to solve this ?
Thanks,
Stephane
P.S. I am using
Struts 1.1, if this is any help ...