Hi Pankaj,
This is the code I use when I need to get a resource string in an Action:
String text = getResources(request).getMessage(getLocale(request),
"messages.deleteFailed");
HTH,
Frank
Pankaj Gupta wrote:
Hi,
Can anyone please suggest how can I access
ApplicationResources.properties from my Action class. Specifically I
want to read the labels for my LabelValueBean object from the
application resources.
regards,
Pankaj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]