Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URL stream handler and context class loader  RSS feed

lucian chirita
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

I'm wondering whether anyone has stumbled upos this case: I implemented an URL stream handler which gets registered by setting the system property. This URL handler would be used in an application having a class loader hierarchy (Tomcat in my case). As my class is not part of the system class loader, it will not be found by .

Is there any way to use a URL handler present on the context class loader? I can't use as Tomcat already registers some factory and there can be only one factory registered.

I see that GNU Classpath has considered using the context class loader (see - posted bug) but I couldn't find anything from Sun regarding this.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!