Bertrand Delacretaz wrote:
> Le 19 mai 04, à 14:43, Peter Lerche a écrit :
>
>> ...After 2 weeks I have still not cracked how to change cocoon 2.1.5
>> to accept
>> other locations for its sitemap elements than the /lib and /classes
>> dir....
>
See ParanoidCocoonServlet in paranoid block, should be possible to add
any jars to the classpath.
> hmmm...I'm no expert on servlet containers, but isn't that a
> limitation (or rather a security feature) of the servlet container,
> that will not let you access jars in other applications?
No, it is by design: web application classloader loads /lib and
/classes. Cocoon's paranoid class loader can be used to add to this
default class path arbitrary jars. AFAIU.
Vadim
|