Look at the source code of the bean message tag and extract the code to perform the lookup to the internationalized messages in your own tag.
Edgar > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 21, 2004 8:56 AM > To: [EMAIL PROTECTED] > Subject: Struts Problem - Urgent Help Required > > > Hi All, > > > > I have a problem in struts development. I have to generate > content from > a custom tag. but I want to display the labels in multilingual format > for which I need to use <bean:message /> tag. > > But from a custom tag we can't use another tag like > out.println("<bean:message..../>") > > This will be executed/evaluated as a string not as a tag. > > > > How do I access "a message associated with a key in application > resources file programmatically"? > > > > Plz kindly provide me a approach to come out of this problem. > > > > Regards, > > M.Srinivas Amarnadh > > i-Flex Solutions Ltd., > > 4th Floor, Shankar Narayana building, > > M G Road, > > Bangalore - 560001. > > Phone: +91-80-25321440, x: 3887. > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]