On Tue, 2006-03-07 at 10:27 +0100, Juergen Donnerstag wrote: > Do you know how to access that information? How do you get the jar > file name a specific class has been loaded from?
getClass().getProtectionDomain().getCodeSource().getLocation() gives you the location where the class was loaded from. I don't know in which situations the CodeSource may be null, though. Joni ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
