Пример из google
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js?onload=onLoadCallback';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
Используйте этот код для повторения значений вашей карты. Это почти то же самое, что и ваш, однако обратите внимание на: $userList.keySet()
вместо $userList.entrySet()
и $!{userList.get($mapKey )}
вместо $!{mapEntry.get("44")}
#foreach($mapKey in $userList.keySet())
$!{userList.get($mapKey )}
#end
Если вы хотите просто получить доступ к определенному значению вашего map попробуйте следующее:
$!{userList.get("44")}