Thursday, March 26, 2009

FreeMarker & HashMap

I had the following hash map

ConcurrentHashMap<String, AtomicLong> requestPerOperation;


In order to iterate the content in free marker template use:

<#list requestPerOperation?keys as key>
<li>${key} : ${statistics.operationsRequests[key]}</li>
</#list>

1 comment: