Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-09-2007, 12:22 PM   PM User | #1
name _F1
Regular Coder

 
Join Date: Jun 2006
Posts: 225
Thanks: 6
Thanked 3 Times in 3 Posts
name _F1 is on a distinguished road
Call Javascript function from Java applet

Is it possible to call a Javascript function from a Java applet in a cross-browser fashion? I know that Javascript can call Java methods, but can it be done in the reverse? The only other solution I can think of, which is far from ideal, is querying the Java applet at intervals and return a Boolean indicating whether to perform the function.
name _F1 is offline   Reply With Quote
Old 12-09-2007, 09:06 PM   PM User | #2
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
There is an article on just how to do this here:

link

Sun talks about this a little as well here:

Sun Link
__________________
"To iterate is human, to recurse divine." -L. Peter Deutsch
Aradon is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:45 AM.


Advertisement
Log in to turn off these ads.