Kranti wrote:
hi,
i have a problem related to message resources
during the login time i am doing this
session.setAttribute(Globals.LOCALE_KEY, locale);
where locale is created by the user specific language settings there in DB.
in jsp:
<bean:message key="label.fname"/>
using this and in struts config file
<message-resources parameter="ApplicationResources" null="false" />
and inthe same directory i have other ApplicationResources files also for
different languages.
But its not picking the properties from diff files when we change the
language settings..eventhough i updated the session attribute for
LOCALE_KEY
What properties files do you have? Where are they deployed withing the
WAR file? and what value are you setting for Globals.LOCALE_KEY? Most
likely there's a mis-match between the locale you're setting and the
naming of the properties files so that Struts isn't finding the file you
want it to.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]