Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to retrieve values of Map of java class in jsp page

 
Rupa Katkar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am having Map in java class. Now i want to retrieve the contents of
this map on jsp page for displaying purpose.

Thanks in advance..
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

You will most likely need to use EL and JSTL to output the map onto a page.

This resource gives an example of how to output a map using these technologies.

Sean
 
lokesh pattajoshi
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi rupa you didn't mention which framework you are using.You can use EL and either JSTL or OGNL to retrive the value..
 
We can walk to school together. And we can both read this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!