Hi,

       I want to show the ActionErrors.GLOBAL_ERROR only if other errors
like the following are not present.

                    errors.add("key", new ActionError("information"));
                    saveErrors( request, errors );

Now I am using code like this that occasionally fails

        protected boolean isErrorsPresent( HttpServletRequest request ){
        ActionErrors errors = ( ActionErrors )request.
                                                     getAttribute(
Action.ERROR_KEY );
    return (errors == null) ? false : true;
    }

 What am I doing wrong ?

Thanks,
Mohan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to