Setting "window.opener.location.href" to JSP fails to load it
843835Nov 17 2001 — edited Nov 20 2001Hi,
From a given Auto.jsp I open up another small window AutoCode.jsp. Some data is taken in on this window, stored in the database and then displayed in Auto.jsp by relaoding it. After the processing in this AutoCode.jsp is complete, I close this window and redirect control to Auto.jsp Window by calling the following JavaScript Functions
function redirectParent()
{
window.opener.location.href = 'Auto.jsp';
}
function reloadParent()
{
window.opener.location.href = window.opener.location;
}
The mini window closes successfully, data is also save but Auto.jsp fails to reload. I had be grateful if somebody could help me out on this.
Thanks and Regards