• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL Get value from HashMap inside HashMap

 
arunkumar subramanian
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


The outerMap is set in Request object. In JSTL(JSP) I can get the value of outermap


I can see the values printed in JSP
{ONE_EXISTS=Y, TWO_EXISTS=Y}

How to retrieve the information of innerMap (ONE_EXISTS or TWO_EXISTS)? Please help.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${requestScope.outerMap[1]['ONE_EXISTS']} should do it ...
 
arunkumar subramanian
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That works. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic