I have a xml file in a .jar file that is contained in an .ear file in /deploy subdirectory of jboss, something like:
I want to access this file from my application. I have problems writing the right path in the getResource() function. Could anyone help please?
If your ear (and jar) is deployed without errors, you should be able to load the resource with the ContextClassLoader using the relative path "resources/myXML.xml".