How do you resolve the location of your properties file.
You should use the class loader and not something else
Thanks, I'll try to use class loader
My application is in one fff.ear archive, but
I've red that for such j2ee apps the Class-Path manifest entry can only reference other JAR files, not directories.
But I need that my classes could find property files in /resources or any other place.
How can I do it ?
Just use your WEB-INF/classes folder
It was first thing I tried - unfortunately, doesn't work.
I had a goal to parse XML files, so placing them in special xmldir would be nice. Is there any mechanism which lets me possibility to locate text files where I want inside war archive?