You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Felipe Rodrigues <fe...@yahoo.com.br> on 2007/03/28 03:30:42 UTC

Tag s:iterator is throwing ConcurrentModificationException

When I try iterate using <s:iterator> tag I get a
ConcurrentModificationException.

The flow of my application is: I insert an user and I notify a topic to list
all the users. It is in a memory stored List.

Does any one got this error or even know how to fix that?

Here is my code.

<table border="1" bordercolor="white">
	<tr>
		<td align="center" colspan="3">Registered Users!</td>
	</tr>
	<tr>
		<td style="width: 150px; text-align: center">Name</td>
		<td style="width: 150px; text-align: center">Email</td>
		<td style="width: 150px; text-align: center">Birthday</td>
	</tr>
	<s:iterator value="users">
		<tr>
			<td><s:property value="name"/></td>
			<td><s:property value="email"/></td>
			<td><s:date name="birthday" format="dd/MM/yyyy"/></td>
		</tr>
	</s:iterator>
</table>

Thanks,

Felipe
-- 
View this message in context: http://www.nabble.com/Tag-s%3Aiterator-is-throwing-ConcurrentModificationException-tf3476646.html#a9704463
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org