I have a hashmap: HashMap<String, array<strings>> Map = new Hashmap<>() ;
Its keys and entries are filled as following.
University,
I want to iterate over the map in a JSP. Get the values individually. How do I do that??
<c:forEach items="${map}" var="log">
<tr>
<td>The Uni:</td>
<th><c:out value="${log.key}" /></th>
<td>has following :</td>
<td><c:out value="${log.value}" />/td>
</tr>
</c:forEach>
I can't get the values using index[0] or 1 or 2.
I want the output to be like "the Uni : ${name of uni} has rank ${rank} known for ${best for} ...
the param should be taken from the valueset.