permaculture playing cards*
The moose likes Applets and the fly likes Applet loading problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet loading problem" Watch "Applet loading problem" New topic
Author

Applet loading problem

Joachim Olga
Greenhorn

Joined: May 15, 2004
Posts: 9
My applet loads just fine using Mozilla Firefox on Win XP, but I get the following error using Internet Explorer. Why?


java.lang.ClassNotFoundException: Hangman.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Joachim Olga
Greenhorn

Joined: May 15, 2004
Posts: 9
Ok... seems IE can't handle spaces in the url, while firefox can...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet loading problem