I am using net beans IDE for development and keeping all my xml files under the folder XML(created under Web Pages folder) ..
I am using the following code to read the xml file .
File file = new File("XML/TableNamesAndColumnNames.xml");
but it is giving file not found exception ..
Can any one suggest how to read the file
Thanks in Advance
Raj
Probably the path you are specifying is not the correct one. Find out what you application’s
working directoryis. Run this:And then adjust from there accordingly.