"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:39:55 PM:

> I am having the below code now in my dispatch Action in one of the 
methods 
> in it.
> 
> 
> DynaValidatorForm frm = (DynaValidatorForm)form;
> 
> ActionErrors errors = frm.validate( mapping, request );
>         if ( errors != null && !errors.isEmpty() ) {
>             saveErrors(request, errors);
> .................
> .................
> 
> As the below is deprecated
> saveErrors(javax.servlet.http.HttpServletRequest request, ActionErrors 
> errors)
> 
> How to convert the above to use ActionMessages instead?
> 
> Thanks.

http://wiki.apache.org/struts/ActionErrorsAndActionMessages

Regards,
Geeta

Reply via email to