You can use js to applet communication transparently
Netscape will use liveConnect and explorer activeX to do js to applet communication
but you
don't have to worry about that...
You'll need to code a getter method in your applet which will return the string..eg
private Stri
take a look at J2J servlet on http://coldjava.hypermart.net
---
Hi All,
Do we need to have live connect or something equivalent
to call Java
methods in JavaScript? I have tried with the code as
mentioned in the mail
using internet explorer. But
ECTED]
Subject: Re: Java in javscript
Hi All,
Do we need to have live connect or something equivalent
to call Java
methods in JavaScript? I have tried with the code as
mentioned in the mail
using internet explorer.
-Original Message-
From: K.V.Srinivas Kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 1:59 PM
To: [EMAIL PROTECTED]; Jianjun Fu
Subject: Java in javscript
Hi All,
Ashwani, thanks for your reply.
Coming to my problem, I have the following two files.
When I
uot;;
}
//Get parameter info
public String[][] getParameterInfo() {
return null;
}
public String getMonth() {
return "HELLO!!! I am from Applet";
}
}
[EMAIL PROTECTED] on 03/08/2000 11:47:55 AM
To: Srinivas Kumar Krishna Vajjala/BS1/SGSSDI/SONYASIA
cc: [EMAIL PR
. Systems Associate,
NIIT LTD.
> --
> From: K.V.Srinivas Kumar
> Reply To: [EMAIL PROTECTED]
> Sent: Monday, March 06, 2000 10:15 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Java in javscript
>
>
>
> Hi All,
>
> Do we need to have
; Hi,
> Thanks, can you just send me a simple code exmple
>
> Ashwani
>
> > --
> > From: sampathkumar rangarajan
> > Sent: Monday, February 28, 2000 11:28 PM
> > To: [EMAIL PROTECTED]
> > Subject:Re: Java in javscrip
To: Ravi Pritmani
> Sent: Saturday, February 26, 2000 11:41 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Java in javscript]
>
> There is something wrong with your code. Just replace alert("mon",strMon);
> with alert("mon"+strMon); and it would wo
TED]>
To: [EMAIL PROTECTED]
cc:(bcc: Srinivas Kumar Krishna Vajjala/BS1/SGSSDI/SONYASIA)
Subject: Re: Java in javscript
Hi,
here is the code for calling java function from js.
Refers to MyApp.java file
Accessing Java Applets from
JavaScript
funct
There is something wrong with your code. Just replace alert("mon",strMon);
with alert("mon"+strMon); and it would work.Take care that all your variables
and methods in your applet should be public.
Ravi
meera nayak <[EMAIL PROTECTED]> wrote:
Hi room,
I am doing something like this .T
I'm not sure what this has to do with JSP.
meera nayak wrote:
> Hi room,
> I am doing something like this .Trying to call a method in a
> java class from javascript.It returns a string .But how does javascript
> handle it.Can it handle a parameter returned from the java method.Can it
ak
> Sent: Thursday, February 24, 2000 1:44 PM
> To: [EMAIL PROTECTED]
> Subject: Java in javscript
>
> Hi room,
> I am doing something like this .Trying to call a method in a
> java class from javascript.It returns a string .But how does javascri
Hi room,
I am doing something like this .Trying to call a method in a
java class from javascript.It returns a string .But how does javascript
handle it.Can it handle a parameter returned from the java method.Can it
store it in a variable.
source code
var strMon;
function getMon(){
13 matches
Mail list logo