Loading Resource from classpath (Including jar files)
This gives the absolute patch to config.xml file
Copy this code and paste it in your HTML
String fileName
= Thread.
currentThread().
getContextClassLoader().
getResource("config.xml").
getFile;
Report this snippet
Comments
Subscribe to comments