MessageResources resources = getResources(request); java.util.Locale locale = getLocale(request); String yourString = resources.getMessage(locale, "yourString");
-- Andrew Kuzmin http://www.java201.com ----- Original Message ----- From: "Carl-Eric Menzel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 6:21 PM Subject: Getting Messages in an Action? > > Hello, > > is it possible to retrieve a message from the application resources > (like <bean:message key="..."/>) inside an Action? How can I get to > the current localized messages? > > Thanks > Carl-Eric > > > --------------------------------------------------------------------- > 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]