Posted By

arunpjohny on 12/02/09


Tagged


Versions (?)

Loading Resource from classpath (Including jar files)


 / Published in: Java
 

This gives the absolute patch to config.xml file

  1. String fileName = Thread.currentThread().getContextClassLoader().getResource("config.xml").getFile;

Report this snippet  

You need to login to post a comment.