calling a Java Function...

  • 18 years ago

    I wasn't sure if this goes here or in Javascript.


    How do you call a Java function from a webpage w/o using applets, or servlets? I have 1 function to call that returns a string of html.


    Here is what I want to do, but I don't know how to make the java class accessible. RAF is the java class:


    Code:

    <script language='JavaScript'>
     document.write(RAF.getHTML(location.search));
    </script>

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“XML is like violence - if it's not working for you, you're not using enough of it.”