You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jt...@honda.co.nz on 2004/07/26 04:08:26 UTC

ActionErrors and ActionMessages





I'm trying to use the saveErrors method in an Action class using
(request,actionMessages) as parameters, instead of (request,actionErrors)
which has been deprecated.
I keep getting the following error at compilation though:

saveErrors(javax.servlet.http.HttpServletRequest,org.apache.struts.action.ActionErrors)
 in org.apache.struts.action.Action cannot be applied to
(javax.servlet.http.HttpServletRequest,org.apache.struts.action.ActionMessages)


Any idea why the compiler is attempting to match to the wrong signature?


Regards,
John

jthompson@honda.co.nz
Ph (09) 372-5010


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