admin管理员组

文章数量:1246647

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 mand on the rhino shell.

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 mand on the rhino shell.

Share Improve this question edited Mar 5, 2010 at 5:14 Jim Ferrans 31k12 gold badges58 silver badges83 bronze badges asked Feb 27, 2010 at 6:19 ettaetta 35.7k84 gold badges220 silver badges329 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 11

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.

本文标签: How do you use Java to call the Rhino Javascript interpreterStack Overflow