Java Read XML File in Project - JAX-RS Openshift JBoss



I would like to read a XML file inside my project. I am using an Openshift Application - JBoss Enterprise. I would like to make it something like this:


InputStream is = ClassName.class.getResourceAsStream("src/main/resources/XMLFile.xml");


Thank you in advance.


No comments:

Post a Comment