Thanks for the reply.  I figurd out what happened. I upgraded my code to use
struts 1.2 but some how the jar file got reverted back to 1.1.

-Betty


-----Original Message-----
From: Curtis Taylor [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 16, 2004 8:32 AM
To: Struts Users Mailing List
Subject: Re: Error Start Tag Exception


Hi Betty,

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]


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

Reply via email to