> my problem:
> I have many jar-files only needed by *one* context, but I 
> have to put all 
> that jar-files into the same directory (/lib/apps) - that's 
> not very easy to 
> maintain!!!
> 

you should be able to put them all in /WEB-INF/lib and they should be ok.
You can not have jars in /lib/apps that need other classes in /WEB-INF/lib.


> so I thought of writing a kind of classloader, that 
> additionaly loads classes 
> from jar-files in /webapps/<context>/WEB-INF/lib (but I never 
> did this before 
> - and I don't know if it's possible!!!)
> this classloader is instantiated by the servlet; and all 
> classes that are not 
> found by the VM-classloader, are loaded using MY classloader ...
>

I wouldn't do this unless you *really* have to.

Charlie 
 
> any idea???
> 
> thanks
> any hints appreciated
> michi
> 
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to