Yes, you can call the getResources() method inside your action which will
return a MessageResources object that you can read the localised messages
from. Check the javadoc for details on the parameters.

-----Original Message-----
From: Carl-Eric Menzel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 16 September 2003 23:22
To: [EMAIL PROTECTED]
Subject: Getting Messages in an Action?



Hello,

is it possible to retrieve a message from the application resources
(like <bean:message key="..."/>) inside an Action? How can I get to
the current localized messages?

Thanks
Carl-Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to