aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Liveconnect support firefox 3.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Liveconnect support firefox 3.5" Watch "Liveconnect support firefox 3.5" New topic
Author

Liveconnect support firefox 3.5

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
I am trying to access Java code from javascript...and after searching I came to know liveconnect can help.

But does firefox 3.5 support?? If not then what are the alternatives??

Please help


rawat
SCJP 1.4
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
Yes, Firefox supports LiveConnect. Note that LiveConnect is for calling into applets on that web page, not for executing arbitrary Java code. Search mozilla.org for examples and more information.


Ping & DNS - my free Android networking tools app
Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
Ulf Dittmer wrote:Yes, Firefox supports LiveConnect. Note that LiveConnect is for calling into applets on that web page, not for executing arbitrary Java code. Search mozilla.org for examples and more information.


I have firefox 3.5.6 installed and after searching in the said site, I found there is no support for liveconnect? Correct me if m wrong .

S, is there any other way i can do that.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
My Firefox 3.5.6 sure can do LiveConnect; do you have a recent Java Plugin installed? Do applets work in general?

Here's an example page that does both Java-to-JavaScript and JavaScript-to-Java: http://test.javaranch.com/ulf/MyApplet.html
Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
Applets were not working on firefox 3.5.6. After fixing it, i was able to run your link .

Thanks ulf . Can you suggest me some tutorial on LiveConnect ( Javascript to java communication )??

Thanks
Rawat
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
The Java Plugin Dev Guide has some information: http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/contents.html; it also described the Java-to-JavaScript case, but for that I prefer the Common DOM API.
Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
thanks ulf you are the man
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Liveconnect support firefox 3.5