G
grasp06110
Hi Everybody,
Is there a way to get an eval of a el expression. I'm trying to
display the contents of an ArrayList that exists in the session by
passing in the name of the list so I would like to do something like
send the following request:
http://myPage?listName=myList
and then get the list from the session and iterate through it to
display the contents. I was hoping that ${param.listName} would
evaluate to the literal string myList in a statement such as:
${${listName}}
and then I could do something like:
<c:forEach var="current' items="${${listName}} >
is there a way to do this?
Thanks,
John
Is there a way to get an eval of a el expression. I'm trying to
display the contents of an ArrayList that exists in the session by
passing in the name of the list so I would like to do something like
send the following request:
http://myPage?listName=myList
and then get the list from the session and iterate through it to
display the contents. I was hoping that ${param.listName} would
evaluate to the literal string myList in a statement such as:
${${listName}}
and then I could do something like:
<c:forEach var="current' items="${${listName}} >
is there a way to do this?
Thanks,
John