Don't you think that would be a tad rude if it were allowed?
Yes I agree. In some situations it would be very rude :-)
But what I wish to do, is to pass some data from the popup window to a servlet. The servlet does some data manipulation and save the data into a session, and then the servlet redirects back to the main.jsp page. The updated (manipulated) data is then going to be showed here.
If I only use the function window.opener.reload(true) in my popup window then I "sometimes" have to refresh the main.jsp page manually before the updated data is shown.
What can I do to ensure the main.jsp always shows the updated data being manipulated in the servlet?
I still have to refresh the main.jsp page manually before the updated data is showed.
I�ll try to explain the situation: 1) From main.jsp I open a popup window (popup.jsp) to edit some data (by a user). 2) From popup.jsp I want to pass the edited data (by a user) to a servlet when pushing the submit button. The popup.jsp has to close. 3) The servlet does some data manipulation and save the data in a session. Then it redirects back to main.jsp 4) Main.jsp then shows the updated data stored in the session.
[ August 01, 2007: Message edited by: Jeppe Fjord ]
Ideally I would avoid pop up windows and use Ajax, but that is a different story.