How can I register URLStreamHandlerFactory in MS applet?
0 posts in topic
Flat View  Flat View

Posted By:   Marius_Strumyla
Posted On:   Monday, April 15, 2002 08:29 AM

the following code works in MS java application, but not in IE6.0 browser.

if (Class.forName("protocol.smb.MSNetStreamHandlerFactory") != null)
URL.setURLStreamHandlerFactory(new protocol.smb.MSNetStreamHandlerFactory());

when i run this code from applet's static block (or init() method), i get the exception that URL Factory has already been registered.

is there any other way to create a custom protocol Handler and make it work in MS applets?

About | Sitemap | Contact