You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Quinten Verheyen <q....@ringring.be> on 2004/09/27 16:32:32 UTC

returning the webapp ClassLoader

Hi,

if you call "Thread.currentThread().getContextClassLoader()" in a constructor of a class that is located in the 'WEB-INF/classes' dir of a web context, does this guarantee the return of the WebApp ClassLoader or could it also return a parent (e.g. Shared) ?

Kind regards,

---
Verheyen Quinten 
Software Engineer
Rue Gabrielle Petitstraat 4/6
1080 Brussel
Tel : +0032 (0)2 502 85 00
Fax : +0032 (0)2 502 76 07
Gsm : +0032 (0)494 81 04 81
E-mail : q.verheyen@ringring.be

"The process of intelligent conduct is essentially a process of selection from among various alternatives; intelligence is largely a matter of selectivity. Delayed reaction is necessary to intelligent contact." - Mead G.H.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org