aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Calling Java Application in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Calling Java Application in Javascript " Watch "Calling Java Application in Javascript " New topic

Calling Java Application in Javascript

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
I have a question:
Is it possible to access Java application(Not applet) in Javascript? If yes, how?
Please let me know,
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
I think that what you are asking for is something called LiveConnect. You can find information on it here LiveConnect

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Thanks Carl for response.
I have an applet. Which writes data to server and can get back data from server. Now In my applet, I want to write data what I got from server to particular field of HTML(for example: cell of table in HTML).
How to write data to particular cell from Applet?
Please let me know,
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
I tried LiveConnect, it seems not working with IE. However, I might did something wrong. Does it work with IE? If it does, can you give some very simple sample code?
Thanks in advance!
It is sorta covered in the JavaRanch Style Guide.
subject: Calling Java Application in Javascript
Similar Threads
Search and popup
Sorting of Table
validwhen validation rule