• 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

Reading property files

 
Ranch Hand
Posts: 503
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All:
- Just wondering.
- If I have a property file (just plain text), outside of an EAR
file, can I read that property file from code within the EAR file.
- Reason for my question:
- Boss man wants to have property files separated from the
EAR file. Am wondering if this is possible.
- Currently, I just put the property files in a jar and put them
in the EAR -- not a biggie. But boss man wants it does HIS way.
- Any help would be appreciated.
Thanks,
John Coxey
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As long as the property file is in your class path, I don't see any reason why you couldn't, but I'm not that familiar with EAR files. This sounds like a question that would be more appropriate to the J2EE forum. I will move it there for you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic