From: Joerg W. <we...@in...> - 2004-01-19 23:07:20
|
Hi Gerd, thanks for your efforts. I've only tried with WebStart. I've a project meeting this week and will have a look as soon as possible. But not before the end of next week. Thanks again for your debugging abilities. Regards, Joerg > 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 > Dipl. Chem. Joerg K. Wegner Center of Bioinformatics Tuebingen (ZBIT) Department of Computer Architecture Univ. Tuebingen, Sand 1, D-72076 Tuebingen, Germany Phone: (+49/0) 7071 29 78970 Fax: (+49/0) 7071 29 5091 E-Mail: mailto:we...@in... WWW: http://www-ra.informatik.uni-tuebingen.de -- Never mistake motion for action. E. Hemingway |