title: How to pass javascript array to java applet method?
body: <p>I have applet that contains method:</p>
  
  <pre><code>public void send(byte[] arr) {
     ... //some code
  }
  </code></pre>
  
  <p>But when I call this method from JS I get the error: </p>
  
  <p><em>java.lang.IllegalArgumentException: No method found matching name send and arguments [sun.plugin2.main.client.MessagePassingJSObject]</em></p>
  
  <p>If I set <em>send</em> method argument to String and then pass string argument from JS to applet, then it`s ok. No warnings.</p>
  
  <p><strong>How to pass array from JS to java method correctly?</strong></p>