Search code examples
javaswingappletjeditorpane

Applet with JRE 1.5 (IE6) fails to open HTML page over HTTPS, works with JRE1.6


I have a small (500kb) swing applet that displays small HTML page with JEditorPane. This works nicely with most browsers and JREs, but with JRE 1.5 (IE6) it seem to display just blank. There are no error messages on java console or exceptions.

Applet is able to load TXT files with all JREs just fine, with JAVA CONSOLE tracing 5 option it displays the same diagnostic message for both text files and html files:

network: Connecting https://xxx.net/xxx/data/my.txt with proxy=DIRECT

network: Connecting https://xxx.net/xxx/data/my2.htm with proxy=DIRECT

Any ideas how to diagnose further whats going wrong, or how to fix it?

I don't have console access to my client's server hosting the applet, but I have a test machine with IE6+JRE 1.5 that I can use to access their HTTPS url and reproduce the problem. The problem does not appear with other browsers / JRE 1.6.

Applet is unsigned since the HTML page and applet are located in same folder in same server.


Solution

  • Solution found, JEditorPane Async mode was causing this issue, switching to Syncronized mode solved bug with JRE 1.5