Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!