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

How to call the java method in java script function in a portal application

55 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