开发者

Using javascript APIs in Java

开发者 https://www.devze.com 2022-12-13 21:39 出处:网络
I am writing a standalone application in Java that needs to be able to call cus开发者_StackOverflowtom Javascript APIs? Is there a way to call custom Javascript APIs in Java?In a standalone app: shoul

I am writing a standalone application in Java that needs to be able to call cus开发者_StackOverflowtom Javascript APIs? Is there a way to call custom Javascript APIs in Java?


In a standalone app: should be possible by using Rhino.


In a browser?

If your applet exposes a scriptable interface, yes you can.


JSon could be your one stop. Let me know if you are looking for this?


Aside from the name, javascript and java have no relationship whatsoever.

0

精彩评论

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