I use the RequestUtils class in the struts 1.1 framework. I think they moved it though. You can look up the message and then pass it into your ActionMessage.
-----Original Message----- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 5:15 AM To: Mailing List Struts Subject: Parameter of ActionMessage... Hi the list! Is it possible to give a key of the ressources.properties in parameter of an ActionMessage? Example : ---------- # In Struts Action file errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("error.field.mandatory","label.name")); # In ressources.properties file error.field.mandatory = The field '{0}' is mandatory label.name = Your Name I want the following result : "The field 'Your Name' is mandatory" Thanks for your help! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]