How can I loop through a HashMap in JSP?
HashMap
<% HashMap countries = MainUtils.getCountries(l); %>
Depending on what you want to accomplish within the loop, iterate over one of these instead:
countries.keySet()
countries.entrySet()
countries.values()