如何HashMap在JSP中循环?
<%
HashMap<String, String> countries = MainUtils.getCountries(l);
%>
<select name="country">
<%
// Here I need to loop through countries.
%>
</select>
Run Code Online (Sandbox Code Playgroud) 我有这样的地图,
Map<Integer,ArrayList<Object>> myMap = new LinkedHashMap<Integer,ArrayList<Object>>();
Run Code Online (Sandbox Code Playgroud)
现在我必须迭代这个Map,然后迭代地图中的ArrayList.我怎么能用JSTL做到这一点?