You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Arash Bijanzadeh <ar...@gmail.com> on 2005/06/20 14:11:33 UTC

Getting resource message programatically

Hi,
I need to get a message from resource file in the validate of a Form class, 
in order to put it in the arg list of ActionMessage constructor.
Help please!
Regards,
Arash

Re: Getting resource message programatically

Posted by an...@tcs.com.
Use the MessageResources class. That can be obtained from application 
scope by using the key Global.MESSAGES.

Anirban Chakraborty
Tata Consultancy Services Limited
Mailto: anirban.c@tcs.com
Website: http://www.tcs.com

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you