You mean like this?
bean:define id=myVar
bean:message key=someKey/
/bean:define
--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmitchtx
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]
Sent: Friday,
Yep,
Use one of the getMessae methods on the MessageResources class.
http://jakarta.apache.org/struts/api/org/apache/struts/util/MessageResou
rces.html
The locale is fetched from a session attribute. Here is an example:
Locale locale = (Locale) session.getAttribute( Action.LOCALE_KEY );
2 matches
Mail list logo