Struts ActionError opbject
It looks like ActionError class or add method of ActionError class is deprectaed in Struts version 1.2. Can anyone tell me which class can be used instead of ActionError in this new release.
Here is how i create ActionErrors object:-
ActionErrors errors=new ActionErrors(); -----(1)
errors.add("xyz", new ActionError("abc.a1",ob1)); -----(2)
....but compiler states that this is deprecated at Line (2)
Thanks for suggestions