Switch to JSTL for logic/iterating.
It’s much cleaner and more robust.
-----Original Message-----
From: Brian Engel
[mailto:Brian.Engel@xxxxxxxxxxxx]
Sent: Wednesday, September 29,
2004 3:09 PM
To: users@xxxxxxxxxx
Subject: [cinjug-users] Struts
Logic Tag Question
I am having a strange problem I
can't seem to get to the bottom of...
Basically I have a bean that
contains a Vector of "UserData" objects. I am simply trying to
iterate thru them and display all of the data.
The problem is the page just seems
to quit processing when it makes it about 10 names from the bottom. It doesn't
seem to matter how many objects (users) are in the Vector.
i.e. my JSP looks like this.
<logic:iterate
id="userData" name="UserDataForm" property="names" >
<td>
<jsp:getProperty name="userData" property="lastName" />
</td>
<td>
<jsp:getProperty name="userData" property="firstInitial" />
</td>
<td>
<jsp:getProperty name="userData" property="city" />
</td>
<td>
<jsp:getProperty name="userData" property="state" />
</td>
<td>
<jsp:getProperty name="userData" property="winDate" />
</td>
</tr>
</logic:iterate>
The page just quits processing towards the very
end of the user list. It doesn't seem to matter if there are 4000 or
250 names (objects) that it iterates over - it just stops and returns the
page incomplete.
Hope this makes sense - BTW I am using Tomcat as the
app server.
I'd appreciate any help you can offer.