Since it's only 2-dimensional, you could loop through the array in JSP,
creating an HTML table, if you want to display it.

Or, you could loop through the array in JSP to build the Javascript to
dimension and create a client-side Javascript array of arrays. That's how
you get Javascript to "do" multi-dimensional arrays.

----- Original Message -----
From: Hong Zhang <[EMAIL PROTECTED]>
>         I have a bean called account which has a two-dimension array,
> perInfo [2][], as a property, how do I pass this array to HTML or
JavaScript
> though JSP ? Just <%= account.getPerInfo() %> ? Thanks.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to