Hi Eu Gene, > Re the title, ActionError was deprecated in Struts 1.2 but ActionForm > validate() still returns ActionErrors. ActionErrors only has one add() > method that accepts ActionError, not ActionMessage. > > How do I modify my code in such a way to avoid using the deprecated > ActionError, but still make use of struts form classes? Don't worry, ActionErrors extends ActionMessages, which means... You know what I mean. ;) http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html http://struts.apache.org/api/org/apache/struts/action/ActionMessages.html
Best regards, -- Shinobu Kawai -- Shinobu Kawai <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]