Skip to Content
0
Former Member
May 16, 2007 at 06:22 PM

How to call Java method in java script function while developing portal app

1237 Views

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