Thanks Mr.Newton --- On Thu, 12/18/08, Dave Newton <newton.d...@yahoo.com> wrote: From: Dave Newton <newton.d...@yahoo.com> Subject: Re: what is the repalcement for saveErrors method? To: "Struts Users Mailing List" <user@struts.apache.org> Date: Thursday, December 18, 2008, 6:42 AM
--- On Thu, 12/18/08, taj uddin <tajuddi...@yahoo.com> wrote: > I am working on a application where i would convert the > code developed with struts1.2 to struts2.1 > In my struts1.2 application ActionErrors were replaced with > addActionMessage or addActionError methods in struts2.1 > But what method should i use in struts2.1 if i have to > replace saveErrors method of struts1.2 The addActionXxx methods do all that's necessary--you don't need to call a saveErrors() equivalent. > By the way can u pls tell me what is the difference b/w ActionErrors > and saveErrors where both hold the error messages? ActionErrors holds the error messages. saveErrors puts them into scope. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org