One other note on the difference... If I use the bean:write to get the output it does some lovely transforms on the text so that it spits out valid HTML...
<LI>I found [70] matches for your search.<BR> I did really want the <LI> in there so that it would do a bullet point... -----Original Message----- From: maillist [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 8:07 PM To: struts-user Subject: Re: html:messages On Thursday, June 13, 2002, 6:22:54 PM, [EMAIL PROTECTED] wrote: wEBc> ----------------ACTION CODE--------------------------- wEBc> ActionMessages amsgs = new ActionMessages(); wEBc> ActionMessage am = new ActionMessage("drilldown.results.nomatches"); wEBc> amsgs.add(ActionMessages.GLOBAL_MESSAGE,am); wEBc> request.setAttribute(Action.MESSAGE_KEY, amsgs); wEBc> return (mapping.findForward("continue")); Try-- replacing request.setAttribute(Action.MESSAGE_KEY, amsgs); with: saveMessages( request, amsgs ); If the above doesn't help then try in the jsp page: <html:messages id="message" message="true"> <bean:write name="message"/><BR> </html:messages> I'm new to using the messages myself, so probably someone else can help out more, but I know the above works for me. -- Rick mailto:[EMAIL PROTECTED] "As the light changed from red to green to yellow and back to red again, I sat there thinking about life. Was it nothing more than a bunch of honking and yelling? Sometimes it seemed that way." -Jack Handey -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>