I run into the following problem with Rhino. I call the Rhino engine
from Java like this, and it executes correctly:
org.mozilla.javascript.tools.shell.Main.main("mysource.js");
However when I call it a second time the code in mysource.js gets
executed twice. When I call it for third time it is executed three
times, etc. Looks like it is buffering the JavaScript source.
I want the script to be executed only once each time I call Rhino.
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino