posted 18 years ago
There are two different ways to go here:
1-Create two different modules, each with their own Struts-config file and ApplicationResources file. This allows each module to have a degree of autonomy. This means it doesn't matter if both config files specify the same action path or action form name. Struts will still keep them straight.
2-Keep the applicaion as a single module with two config files. This will work, but if there are duplicate entries, the rule is the last entry wins, meaning that the one that is read last by the init process will be the one that is used. Also, while you can have more than one resource bundle file, you cannot have more than one default resource bundle. This means that the second and any subsequent resource files have to be defined with a key attribute, and referenced with a bundle attribute. Example:
<bean:message bundle="seconndbundle" key="mykey" />.