No I am not using modules but thanks anyway. 

"Bailey, Shane C." wrote: 


Are you using modules?  That might help. Then you specify a resource for 
each module and each module automagically gets messages from it's own 
properties file. 


-----Original Message----- 
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Thursday, June 05, 2003 8:33 AM 
To: Struts Users Mailing List 
Subject: Multiple Message Resource Files 


Hi, 


My requirement is to have multiple message resource files not based on 
Locale but based on the user's project.  For example, 
I need to create a message bundle for Project A and another one for 
Project B. 


MessageResources_ProjectA.properties looks like this: 


label.first = First Name 
label.last = Last Name 


MessageResources_ProjectB properties lookes like this: 


label.first = First Initial 
label.last = Last Initial 


My question is how do I do this?  I believe it works similar to the 
Struts Internationaliztion capablity where you can set a locale. 
Is there some kind of variable I can set to distinguish what Project to 
use? 


Can anyone point me in the right direction? 


Thanks in advance, 


Natalie 


--------------------------------------------------------------------- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to