posted 21 years ago
I think you are probably a little confused about how JSP works.
JSP is a technique for writing programs that produce web pages. When your browser requests something.jsp from the server, the server runs the JSP code to produce an HTML page, and sends that page to the browser. Neither the server nor the JSP code has any idea about what browser windows you currently have open, and what URLs they have been filled from.
If you want to have abutton in a page which refreshes another window, the correct tool to use is JavaScript, which will be run by the browser after the page has been sent from the server to the browser.