Regarding the problem that I posted earlier, I've discovered that if I replace:

<bean:write name="column"/>

with the following tag from the JSTL Core:


<c:out value="${pageScope.column}"/>

the problem goes away.

It's funny though how <bean:write name="column"/> works through most of the iterations.

- Jim

At 09:16 PM 3/20/2003 -0800, you wrote:
The following example works on small sets of data. But it fails on a dataset of about 570 rows and 12 columns. When it fails, the resulting page appears in the browser but the the content stops in mid row after about 475 rows.

The servlet throws the following exception when it fails:
StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
org.apache.jasper.JasperException: Cannot find bean column in scope null


"tableData" is a two dimensional array (Object[][]) stored in request scope.

If you vary the specified text in the example, you can change the row of failure. In some cases, making that text longer actually allowed me to print more rows.

<logic:iterate id="row" name="tableData" scope="request">
    <i>Vary the length of this text to affect the row of failure.</i>
    <logic:iterate id="column" name="row" scope="page">
        <bean:write name="column"/>
    </logic:iterate>
    <br/>
</logic:iterate>

Why does it work on some datasets but not larger ones? Am I exceeding a size limitation? Am I misusing the logic:iterate tag?

Environment:
Struts 1.0.2
Tomcat 4.1.18
Windows 2000 Professional

Thank you.

- Jim



______________________________
James Watkin
ACIS Software Development
The Anderson School at UCLA
[EMAIL PROTECTED]
Voice: 1-310-825-5030
  Fax: 1-310-825-4835
______________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


______________________________
James Watkin
ACIS Software Development
The Anderson School at UCLA
[EMAIL PROTECTED]
Voice: 1-310-825-5030
Fax: 1-310-825-4835
______________________________



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to