my dog learned polymorphism*
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
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet loading problem" Watch "Applet loading problem" New topic

Applet loading problem

Joachim Olga

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 Source)
at Source)
Caused by: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$ Source)
at Method)
... 10 more
Joachim Olga

Joined: May 15, 2004
Posts: 9
Ok... seems IE can't handle spaces in the url, while firefox can...
I agree. Here's the link:
subject: Applet loading problem
Similar Threads
Problem loading applet from servlet - load: xxx.class not found
Accesing an EJB code in applet using JBOSS
Problem running an applet
Applet not launching
Applet not loading due to IOException