I have map which has List as values and Integers as keys.I want to display the values of the list if the key is 0,1 .How is it possible using Struts2 in jsp?
Map<Integer, List<String>> parameter_map = new LinkedHashMap<Integer, List<String>>();
<s:iterator value="parameter_map">
<h3><s:property value="key" /></h3>
<table>
<s:iterator value="value">
<tr><td><s:property /></td></tr>
</s:iterator>
</table>
</s:iterator>
This is what I tried to do in jsp to display.But nothing is displayed.