You can find sample code in many places including the struts-example that ships with the software.
The classes involved are as follows: org.apache.struts.util.MessageResources.java org.apache.struts.util.MessageResourcesFactory.java org.apache.struts.util.PropertyMessageResources.java org.apache.struts.util.PropertyMessageResourcesFactory.java In the future (1.2) we will be changing this to use commons-resources, which basically does the same thing. -- James Mitchell Software Developer/Struts Evangelist http://struts.sourceforge.net/struts-atlanta/ > -----Original Message----- > From: Guido [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 4:44 AM > To: Struts Users Mailing List > Subject: Message replacement > > > Hello > > Anyone can explain me (for dumbs) how does this replacement works > (Action sample code would be great) and what Java classes are > involved? > > error.number=The number {0} is greater than {1} > > Thank you! > Guido. > > > --------------------------------------------------------------------- > 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]