Hello
I have an xml file and I would like to control where the file is placed. I would like the path to be in the package SAXExample1
xml/saxexample1.xml but I am not sure how to have find it with the SAXParseFactory
InputStream xmlInput =new FileInputStream(/xml/saxexample.xml. If I can have the file there could someone give me some basic example of how to create a class that will get my String /xml/saxexample1.xml" from a properties file properties/saxproperties.properties.
The fact that the file you're trying to get happens to contain XML doesn't make this a question about XML.
And you're better off having this in a forum about Java in general, because your questions are about not understanding how the current working directory functions. So I'm going to move it there.