Reading from Properties Files using relative path
807589Aug 24 2004 — edited Jul 30 2008Hey Guys,
I am Using BEA WEblogic Workshops SP2 to build a J2ee application. In one of the codes, I have to load a properties object using a particulare properties file. TYhis works fine when i give the local path of that properties file . Thats is if i load the properties object with a file located at C:\..\...\.. It works fine.
However, I dont want to give the aboslute path of the propeties file. I want to read the properties file by giving the relative path opf the properties file. The path will be according to our context path .
OPlease help. Thanks a lot