Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not able to display the value using HashMap

 
Avinash Sridhar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Thanks for the input



There are 2 keys, i can find that out by using out.print statement. But I am unable to display the value corresponding to the keys. Help will be greatly appreciated.

Thanks
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to end the scriptlet that has the while. So you need something llike this to end the while and statement that prints the output.

<%}%>
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or simplify your life by losing the scriplets and using JSTL/EL.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic