tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <>
Subject Re: loading a CharsetProvider via WebappClassLoader
Date Thu, 29 Oct 2009 15:42:07 GMT
While the Javadoc for CharsetProvider claims that providers are looked
up via the current thread's context class loader, the code for Charset
seems to clearly be using ClassLoader.getSystemClassLoader()...

On Thu, Oct 29, 2009 at 10:51 AM, Ronald Klop
<> wrote:
> Hi,
> I have this jar (jutf7.jar) which should register itself with the
> CharsetProvider of Java. If I put it in the WEB-INF/lib directory it is
> ignored by Java. I understand that this is because of order in which the
> WebappClassLoader asks all other classloaders for a class.
> How can this be solved? Withouting having to deploy a jar file outside of
> the webapp. Or is this not possible?
> Thanks in advance for any tips.
> Ronald.

Kris Schneider

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message