hello Bart, I see a nice example, tx for that. but I have a little different task. I am using

"InputStream vResourceAsStream = getClass().getClassLoader().getResourceAsStream("001.config");"
...and so on, it works fine, the dir with the config file is defined in java build path dialog and when is war file built it goes to "WEB-INF/classes", but what if i need the config file out of the war file? i am trying to make it done with ANT...and i struggle..tx for any idea :}