I have two questions. How to get values if my bean has a method that returns
a Map? I have a bean with getValues() method that returns a Map.
I have tried
<c:out value="${specs.values.paramId}" />
<c:out value="${specs.values[paramId]}" />
<c:out value="${specs.values.map.paramId}" />
But I get the following error:
Unable to find a value for "map" in object of class
"java.util.HashMap$Values" using operator "."' (correspondingly)
Also my bean also has a method that takes a String and returns the value
Object from the map. Its signature is:
public Object getValue(String key)
How do I use this method using EL?
Thanks a lot.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>