aspose file tools*
The moose likes Struts and the fly likes How to use one resource bundle in another bundle? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use one resource bundle in another bundle?" Watch "How to use one resource bundle in another bundle?" New topic
Author

How to use one resource bundle in another bundle?

gopal kishan
Ranch Hand

Joined: Feb 23, 2005
Posts: 99
HI,
I have a my module resource bundle and common application resource bundle,

i want to use application resource bundle in my module resource bundle.

i dont want to copy those contents from application resource bundle.

so how can i use application resource bundle in my module resource bundle.

is there is any way that i can import ???

please let me know

thanks
Kishan
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This link explains how to define more than one resource bundle within a single module. There's no reason you can't define a common resource bundle in each of your modules along with one unique to that module.

There's one problem, though: You can only define one default resource bundle, and only the default resource bundle can be used for validation and error messages.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use one resource bundle in another bundle?