struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jthomp...@honda.co.nz
Subject ActionErrors and ActionMessages
Date Mon, 26 Jul 2004 02:08:26 GMT





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


Mime
View raw message