• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Accessing resource bundle outside my current WAR

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic