Communications permission trouble when calling into Java from javascript
<p>I have a little graphics editing Java applet embedded in an HTML/Javascript/jquery page.</p>

<p>I have a save button on the page that pops up a jquery dialogue which calls a Java function.</p>

<p>When that function tries to access the server it dies on a permission error.  The identical code works to load the graphics object.  </p>

<p>I am currently assuming that the call to Java from Javascript is not in the applet context (separate thread?), so there is no place it was loaded from and therefor cannot talk to it.</p>

<p>Is there any way to get into the correct context?  </p>

<p>I expect I can work around it by putting the save button in the Java applet and using a Java dialogue to get the other data.  Long term going to HTML5 canvas is the solution I think.</p>
