0 Replies Latest reply on Mar 2, 2007 1:00 AM by Selvi Pappu

    Re: How to display Applet in portlet window

    Selvi Pappu Newbie

      My Java applet which needs to be sent to a browser by means of a JSP page is contained within a JAR file. How can the browser download this JAR file. I am facing the class not found error.

      Stack trace....

      Java Plug-in 1.5.0_07
      Using JRE version 1.5.0_07 Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\pappup


      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      x: clear classloader cache
      0-5: set trace level to
      ----------------------------------------------------

      load: class com.wipro.eprofile.client.panel.TestApplet.class not found.
      java.lang.ClassNotFoundException: com.wipro.eprofile.client.panel.TestApplet.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