wood burning stoves
The moose likes Struts and the fly likes logic iterate linkedhashmap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic iterate linkedhashmap" Watch "logic iterate linkedhashmap" New topic

logic iterate linkedhashmap

seshu Palamanti
Ranch Hand

Joined: Jul 03, 2004
Posts: 63
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.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: logic iterate linkedhashmap
It's not a secret anymore!