It will be displayed as a message only. For code-cleaning purpose, since it gives an incorrect interpretation, you can achieve the same result by slightly manipulating this code. Try replacing ActionErrors with ActionMessages In jsp also, replace <html:errors /> with <html:messages /> It should work.
Actually I had that implementation for error messages in my project. So, I just sent that code to you :) -----Original Message----- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 3:01 PM To: Struts Users Mailing List Subject: Re: message resources >In your Action class, add following statements before return statement: >ActionMessages oMsgs = new ActionErrors(); > oMsgs.add(ActionMessages.GLOBAL_MESSAGE, >new ActionMessage("myValueAdded", "<actual value>")); >saveErrors(oRequest.getSession(), oMsgs); >In your jsp, you must be having <html:errors /> >It will work. It's not an error, it's just a message to the user. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]