title: Incompatible magic value 1010792557 when trying to run applet embedded in Facelets
body: <p>I get this error when I access the Facelets page where the applet is embedded, through Glassfish server. 
  Though when I open it simply from my computer it works fine, so the applet is ok.
  Is it possible to run applets on Glassfish (3.1, JSF 2.0)?</p>
  
  <p>Here's how I try:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;applet code="test.TestApplet" archive="TestApplet.jar"/&gt;
  </code></pre>