View Full Version : request on rhino interpreter

05-21-2008, 11:38 PM

Can someone point me to some reading of how I can access java objects through javascript?

05-29-2008, 09:20 PM
I am not a Java coder, but I can say this about transferring variables through scripting languages. I originally intended this for a PHP-to-JavaScript.
Make some sort script that prints <script type="text/javascript">, then some code for assigning the varables, then </script> on the webpage.

05-29-2008, 11:41 PM
Let me elaborate on this a bit. First I want to use inline javacode without it being compiled to bytecode. Than I want to pass data to it.
From what I understand rhino is used on the server-side. I haven't seen anything about so far on the client-side, let alone of java being interpreted. It would be so nice if BSF could be used in a browser.