Possible Duplicates:
I am looking forward to call some javascript method from a java class
can anyone give a complete example of how to call a js using java file???
HI,
i have a javascript file script.js and a class file callScript.java i want to make a call to encrypt() residing in script.js
how to do it using Rhino? i am using java5
NOTE : would be better if i get some code snippet.