File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logic iterate linkedhashmap

 
seshu Palamanti
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic