Thread.currentThread().getContextClassLoader()

will give you the current class loader, this one points to WEB-INF/classes
and WEB-INF/lib
everything you need!

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

> -----Original Message-----
> From: John Gentilin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 11:22 AM
> To: Apache TomCat Project
> Subject: Help with classpath issues
>
>
> I am trying to dynamic load classes and load configuration files
> via my class path. I know at runtime I can only use what's in
> my system classpath and that my ./classes and ./lib are only
> visible to Tomcat and not the servlet.  For development, I have
> fudged my system classpath but this will never fly for deployment.
>
> Has anyone come up for a solution for a 3.1 or a 3.2 server.
> I searched the list archive and there is some mention that 3.3 fixes
> this (although no detail) but 3.3 is not widely available with any
> ISP's providing Tomcat support.
>
> Thank you
> John Gentilin
>
>
>

Reply via email to