Hi there! I have a propertie file that I load to find out which hibernate.cfg.xml should I read. This file is located under my project root folder, and after deployed under the EAR root folder. The class that reads it, is located in a package com.mycompany.persistence.util. I'd like to read this file using a relative path, is it possible?
I'm using a absolute path (c:\jboss\server\....) which is no desirable.