Question

is there any example on using java method to call rhino-javascript function and return it back to java? The only example i found for rhino is only typing command on the rhino shell.

Was it helpful?

Solution

Sure, here's the Rhino embedding tutorial. I've done this in the past and it works very well. You'll want to scroll down to this section.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top