I am trying to programatically add a jar file (that is not on the class
path). This code is in a static method which a session bean method call:
(running on gf2)
My code issue is in these lines
1 String jarPath= "/D:/MyJar.jar"
2 URL entryURL =
Thread.currentThread().getConextClassLoader.getResource(jarPath);
The problem is that entryURL returned is always null (no exception thrown).
Why is this code not working????
THANKS to anyone with ideas
--
View this message in context: http://www.nabble.com/Basic-question-about-loading-an-external-jar-resource--tp25883059p25883059.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.