开发者

How do you use Java to call the Rhino Javascript interpreter?

开发者 https://www.devze.com 2022-12-21 05:15 出处:网络
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 开发者_StackOverflow中文版

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 开发者_StackOverflow中文版shell.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消