c:out array problem?

Hello,

How can I show array values with c:out?

For example:

<c:forEach var="idx" begin="1" end="10" step="1">

<c:out value="${ myArray1Var[ idx ] }" />

<c:out value="${ myArray2Var[ idx ] }" />

</c:forEach>

But it seems not work.

[452 byte] By [EricMacau@Macaua] at [2007-10-2 21:54:26]
# 1
Looks good to me.What appears not to work about it?What do you get if you just print <c:out value="${myArray1Var}"/> ?Which scope is the myArray1Var in?How do you create/populate it?
evnafetsa at 2007-7-14 1:10:23 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

if i use <c:out value="${myArray1Var}"/> inside my forEach:

[Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284 [Ljava.lang.String;@190a284

its values came from a resultset.

it "should" print 1 2 3 since its from the id row.

Aldricha at 2007-7-14 1:10:23 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
woops, wrong page
Aldricha at 2007-7-14 1:10:23 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...