hi, 
use getResources(request);

or if more then 1

getResources(request, "keyOfResource");


this returns an MessageResource-Object

then you can read it.

greeting


-----Original Message-----
From: Eric C [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 16, 2004 12:42 PM
To: Struts Users Mailing List
Subject: Access Applicationresources.properties from Action


Hi all,

i'd like to access my properties file from the Action. My purpose is
deliver an error message to my result page. Any sample code showing the
use of the MessageResources object ?

Regards,
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