How to access map value when its key contains a dot in JSTL ?

Posted by Manuel on Stack Overflow See other posts from Stack Overflow or by Manuel
Published on 2009-10-27T15:27:18Z Indexed on 2010/05/15 10:04 UTC
Read the original article Hit count: 214

Filed under:
|
|

Hi,

when my Map contains key with dot in their name I cannot access the corresponding value directly with the usual code:

${recordForm.map['records.key']}

Is there a way to escape the dot? Or do I have to resort to loop through all values and check against the key? (I know the iteration works).

Thanks!

© Stack Overflow or respective owner

Related posts about jstl

Related posts about jsp