Am Dienstag, 1. Juni 2004 15:15 schrieb None None:
> I use the following code:
>
> myActionForm.setMessage(getResources(request).getMessage(getLocale(request)
>, "messages.deleteFailed"));
Great! This works fine! The only thing that I missed was to get the locale
from the request.
Thanks,
Ralf.
experience.
From: Ralf Schneider <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: MessageResources Problem in Action
Date: Tue, 1 Jun 2004 12:23:23 +0200
Hi,
I want to access the strin
Hi,
I want to access the strings in a resource bundle from within an action. I
have two resource files (ApplicationResources.properties and
ApplicationResources_de.properties) and they are accessed correctly from the
JSP, but not from the action.
When I look at the locale with request.getLocal
3 matches
Mail list logo