I have recently upgraded to struts 1.1b and I notice that all error messages stored in 
ActionErrors from the validate-method of the form bean has disappeared when trying to 
display them using <html:errors/>.

The only change I have made is upgrading struts. Something has happened. What? 

Here is my validate-code:

        public org.apache.struts.action.ActionErrors validate(
                org.apache.struts.action.ActionMapping mapping,
                javax.servlet.http.HttpServletRequest request) {
                ActionErrors errors = new ActionErrors();
                request.
                if ("save".equalsIgnoreCase(action)) {
                        if ("".equalsIgnoreCase(getPartNo())) {
                                errors.add("partNo", new ActionError("Part.ePNOM"));
                        }
                }
                
                
                return errors;
        }

In the jsp I just have:

<html:errors/>

Please help
/Erik



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

Reply via email to