0 Replies Latest reply on Aug 25, 2003 7:32 AM by billelmehdi

    load applet in https

    billelmehdi Newbie

      Hi, I'm using an applet in a JSP page, this jsp is viewed when the user connect under Https protocol, so the default protocol used is Https.

      when the page is shown, the browser cannot load my applet "Camembert.class" (WEB-INF/classes/Applets/).

      So there is an instruction to add, to allow the applet be loaded.
      this is the error in applet consol:

      charger : classe Camembert.class not found.

      java.lang.ClassNotFoundException: Camembert.class

      at sun.applet.AppletClassLoader.findClass(Unknown Source)

      at sun.plugin.security.PluginClassLoader.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)

      ... 11 more

      thanks