• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Calling JAVA methods from JavaScript in IE

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can invoke the public methods of your applet from JavaScript from IE4(I.E ship with Liveconnect). This functionality works fine when I use JDK 1.3.x to write the applet. Recently I upgraded to JDK 1.4.x. Now I recompiled the Applet again. Now it is not able to call the public methods of my applet from Javascript. What is the reason for this? I am using Internet Explorer 6.0, SP1. Any help on this would be appreciated.
 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have run into the same problem and the only two solutions I could come up with were to compile it with 1.3 or to use the Java Plugin rather than the old applet tags... the plugin is preferable, as it is easier to updrade.
Hope this helps.
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
just to point a important thing...
as soon as u use OBJECT/EMBED tags instead the conventional APPLET tag you will not be able to invoke public methods of the applet via NAME attribute in the EMBED. this is a Netscape issue. it works fine in IE using ID attribute for the applet's OBJECT element.
so b aware...
regards
maulin.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic