• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing resource bundle outside my current WAR  RSS feed

 
Ronan Dowd
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm wondering if there's a way I can access a java message bundle outside of the
war file I'm currently running in, i.e. one that's defined in a completely different war file in fact.

For example:
myapp.war: contains Test.java (well the class file, you know what I mean). This
class file needs to access the message bundle defined in another.war (same machine)

another.war: contains (among other things) the directory structure "WEB-INF/classes/boreas/nl/". This directory contains "myResources.properties" which contains key/value pairs.

Is there a way I can access that (correctly localized) myResources.properties of another.war from my Test
class in myapp.war ? I'm using WAS v7 btw and java 1.6

Any help would be great.
Thanks - Ro
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!