Since ActionError extends ActionMessage then I don't think this is true. When I converted a current app to Struts 1.2.x I'm sure it all still worked with ActionError - I have now changed all ActionError to ActionMessage so that I don't get all the "deprecated" warnings. Can you post your stack trace with the ClassCastException?
Niall ----- Original Message ----- From: "Laran Evans" <[EMAIL PROTECTED]> To: "Struts User Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 11, 2004 6:08 PM Subject: <html:errors /> > When I use <html:errors /> I get a ClassCastException. So I used > <html:messages id="x" /> which displayed nothing, but worked. > > ActionErrors doesn't accept ActionError objects any longer (deprecated), > just ActionMessage objects. > > What's the consensus on the correct way to display <html:errors /> > currently? > > IA > > --------------------------------------------------------------------- > 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]