or, is there any better way to do it? thanks, Jiri
Jiri Chaloupka wrote:
Yes, it is better, when I do:
request.setAttribute("aMenu",menu.getMenu());
<table border=1><tr> <c:forEach var="oMenu" items="${aMenu}" > <td>--- </td> </c:forEach >
but when i want display item: <td><c:out value="${oMenu.id}" /> </td>
I got
Unable to find a value for "id" in object of class "java.util.HashMap$Entry" using operator "." (null)
I cannot write ${oMenu.get(new String("id"))} ... how to do it now?
Thanks much Jiri
Mark Lowe wrote:
request.setAttribute("myMap",myMap);
or
session.setAttribute("myMap",..
should get you going..
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]