• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading property files  RSS feed

 
John Coxey
Ranch Hand
Posts: 503
  • Mark post as helpful
  • send pies
  • 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
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!