Leo,
Hope I understood the question. If so, this:
ResourceBundle resource = ResourceBundle.getBundle
("nameOfYourResourceBundle");

You can then access the bundle using its keys:
Properties properties = new Properties();
properties.put("yourVariableName",resource.getString("bundleKey"));

Bob

On 9/8/06, leo mj <[EMAIL PROTECTED]> wrote:

hi all,

Anyone knows how to access <message-resources> parameter in
struts-config.xml through Action class??? other than using XML reader
class.is there any feature in struts framework to do so????
That is i need to modify the <message-resources> parameter value based on
some logic in Action class.

Regards,
Leo






---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out.




--
"In theory there is no difference between theory and practice. In practice
there is."
Yogi Berra

Bob

Reply via email to