• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

show multidimension array data

 
harish pathak
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have store some data into an array and it is multidimension and I want to print/show this data.

The data I am retrieving from a bean and the method is getData()

String[][] data = obj.getData();

Please reply soon

Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the JSTL forEach tag?
It allows you to iterate over arrays (nested ones too).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic