title: Integrating a java applet in a page
body: <p>I am trying to integrate a processing applet in a jsp, with the following code added in the jsp:</p>
  
  <pre><code>&lt;!--&lt;applet code="Test1.class" archive="C:\Users\user\Desktop\MyApplet.jar" width="600" height="600"&gt;
  &lt;/applet&gt; --!&gt;
  </code></pre>
  
  <p>I am using a tomcat server. The jar contains the Test1.class file. But whenever I run this page, I am getting an error in the webpage. On clicking for details, the message shown is </p>
  
  <pre><code>IllegalArgumentException: name![enter image description here][1]
  </code></pre>