but a new window is openend, but I want to use the same frame.

i have frame in the index document,when this window is opened in the script of another jsp page,i want the output to be displayed in the home page s frame
anyone help me to do this?