--- 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