Array with jstl

Francis <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
I'm trying to use array with jstl

Sample of code
........
<c:set value="0" var="i"/>
<c:forEach items="${ stmt.rows }" var="row">
   <c:set value="${i+1}" var="i"/>
   <c:out value="${ row.l_element }"/> <br>
   <c:set scope="page" value="${ row.l_element }" var="titre[i]"/>
</c:forEach>
<c:set value="${i}" var="nbrTitre"/>
<c:out value="${ nbrTitre }"/> <br>
<c:forEach begin="0" end="${nbrTitre}" var="j" varStatus="t" >
     array : <c:out value="${ titre[j] }"/> <br>
     var : <c:out value="${ t.index }"/> <br>
</c:forEach>
.......

The page works fine but there is nothing in the array.

row.l_element is a string.

What's wrong?

Francis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.