Extending messageResources in Struts

Hi I have a requirement which requires me to load different properties files based on a certain set of conditions.Is there a way i can do it in Struts (something like extending MessageResources)? Please let me know how? ~K
[250 byte] By [akrishmohan] at [2007-9-30 21:00:37]
# 1

> Hi I have a requirement which requires me to load

> different properties files based on a certain set of

> conditions.

If x == true, then load property file x.properties;

If y == 3, then load property file y.preoperties;

If z == 6, then load property file z.properties;

> Is there a way i can do it in Struts?

Sure. The logic I specified above can be placed in any Struts Action class.

AMPHIGIS_X at 2007-7-7 2:32:47 > top of Java-index,Other Topics,Patterns & OO Design...