This is an odd scenario, but i need to access an xml that is stored in a different jar file that the one that contains the java code that needs the xml.
Everywhere I look, i keep seeing code like this:getClass().getClassLoader().getResourceAsStream("/path/file.xml"); But that only works if you are pulling from the same jar file that the java came from. Anyone have any ideas?
Everywhere I look, i keep seeing code like this:getClass().getClassLoader().getResourceAsStream("/path/file.xml"); But that only works if you are pulling from the same jar file that the java came from. Anyone have any ideas?