The easisest way is to extend the ActionServlet and override the way it loads and returns resource bundles.
-----Original Message-----
From: Anna Hristova [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 2:55 AM
To: Struts-User
Subject: Multiple ApplicationResorces within one application?
I have one application divided in different logical modules:
|_web-inf
|_ classes
|_com
|_modules
|_module1
|_actions
|_forms
|_resources
ApplicationResources.properties
|_taglib
|_module2
.....
|_resources
ApplicationResources.properties
....
|_util
|_resources
ApplicationResources.properties
So I have different 'ApplicationResources.properties' for the different
modules and one that is shared. The particular problem that I encountered is
with ActionErrors, because I don't see a way to say from my FormBean for
example what properties file to use. Do you have any idea how can I easily
(without rewriting a lot of classes) solve this?
Thank you in advance.
Anna

