From: <Mat...@i2...> - 2001-10-03 15:32:43
|
Someone answered this question for me a few days ago. Check the jython-users archive for details. You use interp.set("name", objectValue) to pass to jython from java, and I guess the easiest way from jython back to java would be to call a setter on some object you passed in using interp.set() Matt rohit seth <ro2...@ya...> Sent by: jyt...@li... 10/03/01 08:54 AM To: jyt...@li... cc: Subject: [Jython-users] Extending the runtime flexibility of my Java application using Jython Hi, I am planning to use Jython scripts to extend the runtime flexibility of my Java application. Just wanted to know if it is possible to pass and retrieve parameters/variables from Jython file to Java File and vice versa. If yes, then how? Coz I have come across ways to execute specific Jython commands from a Java file or to execute complete Jython scripts. I dont know if there is any possible way to pass a parameter or variable from Jython file and retrieve it in Java file..or the other way round. Thanks and Regards, Rohit __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |