开发者

How create java class object in javascript using RHINO

How create CUSTOM java class object in java-script using 开发者_StackOverflow中文版RHINO..?

We can use classes which is in rt.jar but not other custom class


  1. compile class use a package
  2. make a jar file
  3. set classpath of that jar
  4. use importPackage(Packages.)
  5. start rhino..
  6. now it will work.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜