1 Reply Latest reply on May 8, 2006 2:42 AM by Dimitris Andreadis

    How to get the absolute path of a folder....

    Srivathsa Newbie

      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