开发者

accessing a method in .jar file from javascript

I need to access a 开发者_开发问答method in an api say xyz-api.jar located in a server. inside my javascript function, how should i proceed?

We cannot use servlets here as there is no access to the server. Thanks in advance!


Use Applets and RMI to interact with server and call the applet methods in javascript !

Here's a small example to go with

http://www.codestore.net/store.nsf/unid/DOMM-4U8FM6


I don't think you can access the java object method from javascript code without a servlet/jsp or other server-side codes.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜