title: Java applet not loading with Java Plugin 1.6
body: <p>I created an applet and added it to my JSP page. It was working fine in IE, Chrome when Java Plugin version was 1.5. Recently, I updated Java plugin to 1.6 and now the applet is not loading. The following error is displayed on the console.</p>
  
  <pre><code>load: class GraphApplet.class not found.
  java.lang.ClassNotFoundException: GraphApplet.class
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
  Caused by: java.io.IOException: open HTTP connection failed:http://cwrug26999:8080/fluids/pages/GraphApplet/class.class
      at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      ... 9 more
  Exception: java.lang.ClassNotFoundException: GraphApplet.class
  </code></pre>
  
  <p>The GraphApplet.class is located in the same location where JSP page is located.</p>
  
  <p><strong>I used IE with Java 1.5 plugin and the applet is loading fine.</strong> </p>
  
  <p>Can anyone point out what I am missing here.</p>
  
  <p>The source code that I am using in the JSP file is below:</p>
  
  <pre><code>&lt;br&gt;&lt;center&gt;&lt;applet code="GraphApplet.class" codebase="pages/" width="450" height="450"&gt;
  &lt;/applet&gt;&lt;/center&gt;
  </code></pre>
  
  <p>Sorry, the applet can not be accessed publicly. </p>
  
  <p>I am using Tomcat5 as the web server and under webapps I have my project folder "fluids" and under this folder I have "pages" folder which contains the JSP files and the applet .class files.</p>
  
  <p>Thanks</p>