struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl-Eric Menzel <cm-strutsuserl...@bitforce.com>
Subject Re[2]: Getting Messages in an Action?
Date Tue, 16 Sep 2003 16:17:46 GMT
> MessageResources resources = getResources(request);
> java.util.Locale locale = getLocale(request);
> String yourString = resources.getMessage(locale, "yourString");

Duh. I should read the docs more carefully (and sleep more, probably).
Thank you!

Carl-Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message