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. -----Original Message----- From: Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 2:44 PM To: Struts Users Mailing List Subject: Re: message resources > <bean:message key="myValueAdded" arg0="${mybean.value}"/> I wrote: <bean:message key="myValueAdded" arg0="${myDynaForm.value}"/> And it returns literally: ${myDynaForm.value} >What do you have in the java class for the value you want to put in your >message, is it a has table or something else ? It's all just plain simple. I store my value in a dynaForm, forward to an action, compute stuff, forward to to a jsp, and then I want to print Value "YOURVALUE" has been added. >What do you mean by " Action adds value"?? >Where does Action add this value? My Action stores the value in a database, that's basically all it does. On the jsp, I want to show the user that storing the value worked, and as a "proof" I want to redisplay the value the user typed in. 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]