I have two open windows. One window shows status information, window A, and another takes user input and updates a database, window B. Both windows are created by a servlet. Window B is created by pressing a HREF on window A that sends a command to the servlet with a new window as the target.
My question is after the user submits changes to the servlet from window B and the data is updated in the database, how do I get both windows to refresh? Refreshing window B, where the request originated from is no problem. However getting window A to update has been a problem.
I've tried to submit window A's refresh request from the second window's ONLOAD but it wouldn't let me do the submit(). The only way I have found to update window A is to provide a button on window B to perform this specific action.
I would like to eliminate the extra button push if this is possible.
Any ideas?
My question is after the user submits changes to the servlet from window B and the data is updated in the database, how do I get both windows to refresh? Refreshing window B, where the request originated from is no problem. However getting window A to update has been a problem.
I've tried to submit window A's refresh request from the second window's ONLOAD but it wouldn't let me do the submit(). The only way I have found to update window A is to provide a button on window B to perform this specific action.
I would like to eliminate the extra button push if this is possible.
Any ideas?