This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Thanks rene I have a question though because it isn't working. Inside the child window I am calling a servlet and forwarding jsp data into there. The user does some stuff finishes and ends up with an html page that says "good job u did ur thing" press here to close. so i add the function to close the window but thre reload function doesn't get calledon the parent. is this bcuz we use netscape or because the parent changes becuase i am switching btwn jsp servlet to an html page?
I've just tried to call a HTML page, from this page I opened a popup witch had a link to a Servlet that returned the result via RequestDispatcher.forward() to a JSP page. On this page I made a link to call the parent window to reload the page and then close. I did it in Internet Explorer 6, Netscape 4.79 and Netscape 7.0 It works for me without any problems... Try to post your code /Rene
it very machine/browser dependandt. At least for IE sometimes it closes your popup before actually reloading opener window. (may be it sounds silly, but I really had it more than ones). try to put some delay before you call self.close(). setTimeout("self.close()",100);