2014-05-06 18:30 GMT+02:00 Bruno Klava :
> Hi,
>
> in order to load a message from a *.properties file from a servlet, I used
> to do:
>
> new ActionSupport().getText(messageKey);
Do you use it inside Struts action? ActionContext is action specific
which means you cannot access it from outside, fr
Answering my own question:
LocalizedTextUtil.findDefaultText(messageKey, Locale.getDefault())
On Tue, May 6, 2014 at 1:30 PM, Bruno Klava wrote:
> Hi,
>
> in order to load a message from a *.properties file from a servlet, I used
> to do:
>
> new ActionSupport().getText(messageKey);
>
> It use
2 matches
Mail list logo