Loop through a Map with JSTL

Posted by Dean on Stack Overflow See other posts from Stack Overflow or by Dean
Published on 2010-05-17T10:44:12Z Indexed on 2010/05/17 10:50 UTC
Read the original article Hit count: 278

Filed under:
|
|

I'm looking to have JSTL loop through a Map and output the value of the key and it's value.

For example I have a Map which can have any number of entries, i'd like to loop through this map using JSTL and output both the key and it's value.

I know how to access the value using the key, ${myMap['keystring']}, but how do I access the key?

© Stack Overflow or respective owner

Related posts about jstl

Related posts about map