Menu

#231 Problem getting resources from service archive

open
nobody
None
5
2003-07-23
2003-07-23
Gino Marckx
No

Hi,

Because of the implementation of the
STAFServiceJarClassLoader, upon a call to a resource,
'STAF-INF/classes' is always prepended to the resource
name. As a consequence, the manifest file nor the jars
in 'STAF-INF/jars' can be referenced.
It is not necessary to change the resource name,
because this behaviour is only wanted when searching
for classes, and the method 'findClass' already has got
this prepending mechanism built in.

Regards,
Gino.

Discussion


Log in to post a comment.