On Feb 2, 8:01 am, rhtdm48 <[email protected]> wrote:
> Plz tell me a way to returning a javascript complex object and an
> array to java when java will call a javascript function

See http://www.mozilla.org/rhino/tutorial.html#usingJSObjs for how to
get JavaScript objects into Java. JavaScript arrays and objects are
both org.mozilla.javascript.Scriptable's: use get and set to
manipulate properties/array elements.

--N
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to