From: Gerd M. <Ger...@sm...> - 2004-01-19 17:02:58
|
Hi, Is there any reason why the ResourceLoader unpacks zip/jars 'by hand', i.e. why did you use the getBytesFromArchive() and getBytesFromFile() methods instead of useing ClassLoader.getResourceAsStream() directly ? I've tried this and it seems to work. The problem with the current implemenation is, that it doesn't work with applets, since jars are loaded via http. If you use ClassLoader.getResourceAsStream() this is no problem anymore since the JDK does all the ugly stuff. I've attached my version of ResourceLoader.java so that you may take a look on it. Best Regards, gerd ________________________________________________________________ Gerd Mueller ge...@sm... SMB GmbH http://www.smb-tec.com |