Hi,
I was reading the struts API and found that
1> ActionErrors is depricated and we have to use ActionMessages instead.
2> But in ActionForm, we have:
public ActionErrors validate(ActionMapping , HttpServletRequest req);
In such a situation I thought of current solution:
i.e. 1> Currently we should use ActionErrors (in ActionForm ), and then
2> When we upgrade the appache struts version,
replace all ActionErrors related stuff
(ActionError, GLOBAL_ERROR etc..) with ActionMessages.
Note:
( I am assuming that apache will come up with :
public ActionMessages validate(ActionMapping , HttpServletRequest req)
Is there any other solution?