Hi, I have a jsp page from which I am opening a modal window by using showModalDialog. Through this modal window I am transferring control to a servlet where it does some database processing. Now I want to close the modal window after servlet processing. I was able to do this by executing the following code in the servlet.
The modal window closes but the window which invoked the modal window is also getting reloaded with the modal window contents. Any work-around for this?
What I want is, After closing/submitting the modal window, it should close automatically and the parent window should refresh. Any help will be appreciated.