Return to Snippet

Revision: 21020
at December 2, 2009 02:50 by arunpjohny


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

Initial URL

                                

Initial Description
This gives the absolute patch to config.xml file

Initial Title
Loading Resource from classpath (Including jar files)

Initial Tags

                                

Initial Language
Java