Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting "window.opener.location.href" to JSP fails to load it

843835Nov 17 2001 — edited Nov 20 2001
Hi,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2001
Added on Nov 17 2001
3 comments
393 views