BasicService showDocument problem

My application uses HTML for its help pages, and loads them into the local system's web browser with the following code:

BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");

bs.showDocument(this.getClass().getClassLoader().getResource("<path>/UserGuide.html"));

The resultant URL is something along the lines of:

jar:file:<Java Web Start>/.javaws/cache/http/<address, port>/DMDeploy/RMplanner.jar!/<path>/UserGuide.html>

This works great with Netscape 6.1, but loading the HTML file directly from the jar fails with Internet Explorer 5+ and Opera 5+.

This is far from being browser-independant, so is of little use. Is there any way of loading these files into any browser?

Thanks in advance, Martin.

[828 byte] By [mgladdish] at [2007-9-26 4:29:43]
# 1

Sounds like you are using a unique feature to Netscape. Back in Net.. 3 you

could stream ascii to live connect and the stream would be interpreted as html.

It looks like that is back with Net.. 6

Please post a solution if you actually get this working for IE or opera as it would

be usefull to know how.

ggcampbell at 2007-6-29 17:41:22 > top of Java-index,Desktop,Deploying...