Results 1 to 3 of 3

Thread: request on rhino interpreter

  1. #1
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default request on rhino interpreter

    Hello,

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

  2. #2
    Join Date
    Apr 2008
    Posts
    38
    Thanks
    9
    Thanked 1 Time in 1 Post

    Default

    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.

  3. #3
    Join Date
    Mar 2008
    Posts
    218
    Thanks
    7
    Thanked 19 Times in 19 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •