• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Liveconnect support firefox 3.5

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Himanshu Rawat
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks ulf you are the man
 
Are we home yet? Wait, did we forget the tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic