How to use the Rhino javascript engine in an applet

Posted by Robber on Stack Overflow See other posts from Stack Overflow or by Robber
Published on 2010-03-22T18:47:46Z Indexed on 2010/03/22 18:51 UTC
Read the original article Hit count: 473

For my java program I'm using Rhino to execute JS scripts. Now I'm trying to convert it to an applet which works great, except that everytime it's calling evaluateString(...) the JVM throws an AccessControlException. After some (a lot) of research I found out that this is caused by Rhino's custom classloader. My problem is that after hours of googling I still can't find a way to stop Rhino from trying to load it's own classloader.

I hope someone can help me...

© Stack Overflow or respective owner

Related posts about java

Related posts about rhino