I think you need to set the 'message' attribute to false here, as the tag is looking for an ActionMessage instance, not an ActionError one (which is what you get in the loop created by the <html:errors /> tag).
Here's a snippet of an implementation I've used:
<logic:messagesPresent message="false">
<td class="small3" colspan="2">
<html:messages id="error" message="false">
<c:out value="${error}" escapeXml="false" /><br />
</html:messages>
</td>
</logic:messagesPresent>HTH,
Curtis -- c dot tee at verizon dot net
Betty Koon wrote:
Any one has any idea why this exception happens? I am using 1.2 nightly build currently.
My jsp is simply using the following:
<logic:messagesPresent> <html:errors /> </logic:messagesPresent>
java.lang.ClassCastException
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

