开发者

Using javascript APIs in Java

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜