Do the following to find out which jar (or class file) a class is being loaded from. Just change the value of className.

String className = "/com/sun/xml/messaging/saaj/soap/MessageImpl.class";
java.net.URL classUrl = getClass().getResource(className);
out.println("jar="+ classUrl.getFile());
Version 5.1 last modified by Geoff Fortytwo on 11/07/2010 at 17:21

Attachments 0

No attachments for this document
Website Top
Send Me Mail!:
   g42website4 AT g42.org
My Encyclopaedia Blog

Creator: Geoff Fortytwo on 2008/05/12 01:18
Copyright 2004-2007 (c) XPertNet and Contributing Authors
1.3.2.9174