• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Using a HashMap in a JSP

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

I work on JSP servlets. I forwarded a hashmap entry to display on my JSP page. Can anyone suggest how to use this hm entries to iterate and generate a tree structure using DOJO? I am pretty new to DOJO and am specific to work on that , write any code in my jsp page to create a tree structure so can anyone suggest how can I achieve this?The data provided is in form of hashmap.

P.S: Data is coming from hashmap entries only and not database
Thanks & reg
 
Sheriff
Posts: 67269
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<c:forEach> will iterate over the Map instance. Each iterator will be a Map.Entry instance which has key and value properties.
 
Foni kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:<c:forEach> will iterate over the Map instance. Each iterator will be a Map.Entry instance which has key and value properties.




you have any clue to use a Lazy load child node o the Dojo tree using JsonRestore . On click of the + button the folder should expand, i need to implement it using Dojo in my code.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!