Is there a way to Accessing JavaMethod from Javascript on a
jsp page
<body onunload="doUnload()">
function doUnload()
{
alert("Window is closed...!");
Class1.ClearObject();
}
I am able to get the alert but am not able to access the ClearObject method inside static class Class1
Any help/hint is appreciated