This content has been marked as final.
Show 5 replies
-
1. Re: resources location JBOSS 3.0.2/Jetty
pvamstel Oct 30, 2002 1:51 AM (in response to eprag)How do you resolve the location of your properties file.
You should use the class loader and not something else -
2. Re: resources location JBOSS 3.0.2/Jetty
eprag Oct 30, 2002 8:50 AM (in response to eprag)Thanks, I'll try to use class loader
-
3. Re: resources location JBOSS 3.0.2/Jetty
eprag Oct 30, 2002 1:17 PM (in response to eprag)Hello,
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 ?
Regars -
4. Re: resources location JBOSS 3.0.2/Jetty
pvamstel Oct 31, 2002 2:33 AM (in response to eprag)Just use your WEB-INF/classes folder
-
5. Re: resources location JBOSS 3.0.2/Jetty
eprag Oct 31, 2002 8:25 AM (in response to eprag)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?