on 2007 May 16 7:28 PM
Hi Friends,
I am developing one application where i need to fetch the data from KM content and displaying it on the screen in regular interval. I wrote one method in JSPdynpage for fetching data from KM content now I need to call that java method in java script function.
java method(IComponentRequest request)
{
//Coode for fetching the KM content
}
function()
{
<b>//Need to call the java method</b>
setTimeout(function, 5000);//setting the time interval for this function
}
<<htmlb display code>>
If anybody can help me in calling the java method in java script function that will be very helpful for me.
Thanks in advance,
Sandeep Bonam
I could able to solve the problem in other way. Thank you all for the help.
Thanks,
Sandeep Bonam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pls see if the following links could help.
http://www.rgagnon.com/javadetails/java-0170.html
http://www-128.ibm.com/developerworks/library/wa-resc/?dwzone=web
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To my knowledge we cannot mix java and javascript. Java Program is invoked by Java Virtual Machine and javascript is executed by client side browsers.
How in your case a client side browser can invoke a normal java function.
If its applet then its fine. But I don't see a an Applet here!
regards
Vivek Nidhi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.