I have an application running under Tomcat. This app
needs several XML files for the app configuration.
I'd need to access to these xml files configuration
from java class. For example, a.java needs to read
file.xml, and a.java isn't a servlet.
I have a problem with the File class, because that
needs an absolute path, and File(".") gives me the
"/bin/" jakarta path.
Is there a mechanism to load properties, paths and
other configurations like the web.xml but for the
classes of my application?