Top "Rhino" questions

Mozilla Rhino is a JavaScript interpreter written in Java.

Rhino print function

I'm using Rhino 1.7R4 and env.js 1.2 to run Javascript code inside Java I want to print from my Javascript …

java javascript debugging scripting rhino
Performance of the compiled vs. interpreted javascript in java7 / Rhino

I have a problem with performance of Rhino javascript engine in Java7, shortly - my script (that parses and compiles …

javascript java-7 rhino
Tutorials for Mozilla Rhino

Can any one suggest a good tutorial for Mozilla rhino. What i want to do is to validate a form …

java javascript rhino
Calling @JSFunction from JavaScript, TypeError: Cannot find default value for object

I'm calling a @JSFunction annotated method of a ScriptableObject The JavaScript file Target = Packages.com.acme.rhino.Target; function evaluate() { …

java javascript rhino
Access Rhino's native JSON.Stringify from Java

Is there a cleaner way to get the JSON representation of a Javascript object than with the following kludge? System.…

rhino
Java ScriptEngine: using value on Java side?

In a Java program I'm invoking a user-defined JavaScript program: File userJSFile=...; javax.script.ScriptEngineManager mgr=new ScriptEngineManager(); javax.script.…

java javascript scripting object rhino
How can you run Javascript using Rhino for Java in a sandbox?

Part of our java application needs to run javascript that is written by non-developers. These non-developers are using javascript for …

java javascript sandbox rhino
How do I output something in Rhino?

I'm looking for the javascript equivalent of Python2.x's print "hi". I'm working with the Rhino javascript interpreter in the …

javascript linux rhino
Passing common types between Java and (Rhino) Javascript

I'm unclear on the rules for how types are converted between Javascript and Java when using (Mozilla) Rhino. There's some …

java javascript type-conversion rhino
Rhino: How to return a string from Java to Javascript?

How do I use Rhino return a string from Java to Javascript, all I get is org.mozilla.javascript.JavaNativeObject …

java javascript string rhino