[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find xml file on classpath
I'm trying to make an xml config file. Basically I want the
convenience of the ResourceBundle and '.properties' files with the
flexibility of an xml file. My problem is how do you find and xml file
that is placed somewhere on the classpath?
System.getProperty("java.class.path") will give me the jar files on the
path but not the actual path, or at least it doesn't seem very
consistent in what it returns The most likely place for the xml file to
be placed, would be in a WEB-INF or WEB-INF/lib folder of a web server.
Could anyone give me some suggestions on how to find it?
Thanks much,
~Michael Fortin