Hi,
I have a doubt which most of you may feel simple.....but i am not able to crack it.....please help me in doing this.....
Basically i have a application that is placed in a war file in the JBoss environment. Now in the classes folder i have a folder called cfg which contains my configuration files. During run time i need to get the absolute path of this folder for processing in the applciation.
Since i have no servlet in this aplication i need to get this class path without the help of the context as well. This led me into deep trouble.
Expecting the solution in a day.....
vathsa
Something like Thread.getCurrentThread.getContextClassloader().getResource("/bla/bla/myconfig.txt"). This should be an absolute URL.