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