Hi,
I am working on
struts but needs to write a javascript function on my
jsp.
My present jsp (which is a pop up)is called by nextMonth.do action class.
On hitting the close button I am supposed to send the user to Scheduler1.do action class and reload the parent page.
The fuction goes like this:
function xyz()
{
window.location="Scheduler1.do";
window.opener.location.reload(true);
window.close();
}
Though this does close the child window BUT it reloads the page using nextMonth.do class and not Scheduler1.do class.
Please tell me if there is any way by which I can reset window.opener so that the parent window is reloaded using Scheduler1.do and not nextMonth.do
action class.
Thanks in advance for yr help.
regards
shiva