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
- compile class use a package
- make a jar file
- set classpath of that jar
- use importPackage(Packages.)
- start rhino..
- now it will work.
精彩评论