Thanks, that certainly seems helpful, I'll try to follow the guidlines given in the URL you've provided. Hopefully that is enough information I will need to end the initial confusion. I'll bug you guys again if I get stuck again.
Once again thanks for your help. Regards, Muhammad Momin Rashid. "Matt Bathje" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Muhammad Momin Rashid wrote: > >> Hello All, >> >> I have recently migrated our application from struts 1.1 to 1.2.4. There >> is some confusion in my mind over use of ActionErrors and ActionMessages. >> >> 1. Since ActionError is depricated, I have changed ActionError to >> ActionMessage in my code as recommended. >> >> 2. ActionErrors is still being used to propogate error to the front end >> using ActionErrors.add(String, new ActionMessage()) >> >> 3. saveErrors(HttpServletRequest request, ActionErrors errors) is >> depricated and its recommended that we use saveErrors(HttpServletRequest >> request, ActionMessages errors). How do I fit this in? as my errors are >> still being reported as ActionErrors. Do I need to change from >> ActionErrors to ActionMessages now? If so how will that effect the >> validations (i have some custom validations put in Form.validate method >> as well). >> >> 4. If I need to use saveMessages then how do I distinguish between errors >> and messages. >> >> 5. Currently I am using <html:errors/> at the appropriate places in my >> jsp pages, how will that be effected, and what is the desired tags and >> their usage given the change of things. >> >> >> Regards, >> Muhammad Momin Rashid. > > > Perhaps this will be of help to you: > > http://wiki.apache.org/struts/StrutsDeprecatedActionErrors > > > Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]