This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a link on my HTML page that opens a another page. When the called page is closed I need it to run the following code. I have a link on the called page that will do this however I cannot guarantee the user will click the link. How can I make sure this code will run if user just closes the window?
Bear Bibeault wrote:
What are you really trying to accomplish? Whatever it is, this isn't the way to do it.
Page 1 has record header data and a table showing child records. There is a link that is used to open another window(window 2) to add more child records. When window 2 closes I want to make a call to the servlet that feeds the window 1 page. Lastly I want the window 1 to reload so the new child records show up.