I had used frames in my application and the thing is that i have some operation which opens a popup and i will submit that popup and close it and th e result of that operation will be appearing in the main window(mean the target will be the parent window)
but what happens after this operation is done ,right click on the parent frame and say refresh .this calls the old operation leading to duplicate entries in DB r some unwanted things happening
is it my responsibility to handle this at the server side r is there any easy way of over coming this ??
posted 12 years ago
You could try to use a token in the HttpSession to keep track of whether you've already processed the request or not (i.e. whether you should just skip to rendering the UI). Another option would be to check out these two articles: RedirectAfterPost RedirectAfterPost2