Java Tips
Showing posts with label
classloader
.
Show all posts
Showing posts with label
classloader
.
Show all posts
Tuesday, March 1, 2011
Getting java web classloader
J2EE 1.3 (and later) containers are required to make the web application class loader visible through the context class loader of the current thread. You can access it like this:
ClassLoader cl = Thread.currentThread().getContextClassLoader();
Older Posts
Home
Subscribe to:
Posts (Atom)