You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Honza Spurný <sp...@master.cz> on 2003/11/25 11:39:59 UTC
Correct localisation in ActionForms
Hi ther,
since I know how to use MessageResources in normal JAVA classes (thanks to
all for helping) I need know one more thing... How to use localisation? When
I use method getMessage(String) of MessageResources class, I always get only
US output:
I have defined two MessageResources (only MR for next text): default US and
local CS.
When I use the MR in the normal jsp files, the correct localisation is
loaded to the pages, but when I use the getMessage(String) in java files, I
can et olways only default localisation (not correct localisation).
Please, could anybody help me , how to established actual localisation also
in java files?
Thanks for helping.
Sporak
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org