I have a LinkedHashMap which contains the a collection of objects as key value pairs ( both are of the same object type) i need to iterate through them to de displayed in the page. Can any one please suggest the process.
Thanks in advance.
posted 9 years ago
Both the Struts <logic:iterate> and the JSTL <c:forEach> tags will iterate through an instance of the java.util.Map interface. The bean retrieved with each iteration is of type Map.Entry, which has a key and a value property.