Meaningless Drivel is fun!
The moose likes JSP and the fly likes show multidimension array data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "show multidimension array data" Watch "show multidimension array data" New topic

show multidimension array data

harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
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

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Have you looked at the JSTL forEach tag?
It allows you to iterate over arrays (nested ones too).

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: show multidimension array data
It's not a secret anymore!