File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL Get value from HashMap inside HashMap

 
arunkumar subramanian
Ranch Hand
Posts: 32
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That works. Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic