i use <html:messages /> for ActionMessages saved with saveErrors(request, actionMessages).
ADC > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad > Momin Rashid > Sent: 21 September 2004 14:45 > To: [EMAIL PROTECTED] > Subject: ActionErrors and ActionMessages struts 1.2.4 confusion > > > 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. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software <a href="http://www.qas.com">www.qas.com</a> Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- </FONT> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]