title: Java applets contained in packages
body: <p>Can I have an applet live in a package? ie:</p>
  
  <pre><code>bfwd.RedemptionOnline.client
  </code></pre>
  
  <p>would be the package, and RedemptionOnlineApplet.class would live inside that package. If you can, how would you create the  tag for it if it lived inside RedemptionOnline.jar?</p>
  
  <p>here is the tag i'm using:</p>
  
  <pre><code>&lt;applet code="bfwd/RedemptionOnline/client/RedemptionOnlineApplet" width="1" height="1" archive="RedemptionOnline.jar"&gt;
      &lt;PARAM NAME="MAYSCRIPT" VALUE="true"&gt;
  &lt;/applet&gt;
  </code></pre>
  
  <p>and here is a log of the error i'm getting:</p>
  
  <pre><code>Java Plug-in 10.0.0.147
  Using JRE version 1.7.0-b147 Java HotSpot(TM) Client VM
  User home directory = C:\Users\LordZardeck
  ----------------------------------------------------
  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
  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 &lt;n&gt;
  ----------------------------------------------------
  basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1b1a66b
  basic: Plugin2ClassLoader.addURL parent called for http://localhost/redemption/RedemptionOnline.jar
  network: Cache entry found [url: http://localhost/redemption/RedemptionOnline.jar, version: null] prevalidated=false/0
  network: Connecting http://localhost/redemption/RedemptionOnline.jar with proxy=DIRECT
  network: Connecting http://localhost:80/ with proxy=DIRECT
  network: Connecting http://localhost/redemption/RedemptionOnline.jar with cookie "PHPSESSID=loub2i9mprilg7ihvjn8g960v1"
  network: ResponseCode for http://localhost/redemption/RedemptionOnline.jar : 304
  network: Encoding for http://localhost/redemption/RedemptionOnline.jar : null
  network: Disconnect connection to http://localhost/redemption/RedemptionOnline.jar
  cache: Reading Signers from 5 http://localhost/redemption/RedemptionOnline.jar | C:\Users\LordZardeck\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\4\40bb90c4-62ab3bc6.idx
  network: No certificate info for unsigned JAR file: http://localhost/redemption/RedemptionOnline.jar
  cache:  Read manifest for http://localhost/redemption/RedemptionOnline.jar: read=82 full=82
  network: Cache entry not found [url: http://localhost/redemption/, version: null]
  network: Cache entry not found [url: http://localhost/redemption/bfwd/RedemptionOnline/client/RedemptionOnlineApplet.class, version: null]
  network: Connecting http://localhost/redemption/bfwd/RedemptionOnline/client/RedemptionOnlineApplet.class with proxy=DIRECT
  network: Connecting http://localhost/redemption/bfwd/RedemptionOnline/client/RedemptionOnlineApplet.class with cookie "PHPSESSID=loub2i9mprilg7ihvjn8g960v1"
  network: Cache entry not found [url: http://localhost/redemption/bfwd/RedemptionOnline/client/RedemptionOnlineApplet.class, version: null]
  network: Connecting http://localhost/redemption/bfwd/RedemptionOnline/client/RedemptionOnlineApplet.class with proxy=DIRECT
  network: Connecting http://localhost/redemption/bfwd/RedemptionOnline/client/RedemptionOnlineApplet.class with cookie "PHPSESSID=loub2i9mprilg7ihvjn8g960v1"
  java.lang.ClassNotFoundException: bfwd.RedemptionOnline.client.RedemptionOnlineApplet
      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.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
  basic: load: class bfwd/RedemptionOnline/client/RedemptionOnlineApplet not found.
  java.lang.ClassNotFoundException: bfwd.RedemptionOnline.client.RedemptionOnlineApplet
      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.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
  basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1b1a66b
  security: Reset deny session certificate store
  </code></pre>