Dave Tolls wrote:You can't request a new window from the server.
Exactly. You can do this with window.open() using the URL as the window URL, or use the
target="_blank" attribute on a link; either will open the URL in a new window.
Also, you really shouldn't have all that Java code in your JSP.
It all belongs in a Servlet.
This. So very very much this.
You should have stopped putting Java code in a JSP 14 years ago.
14 years!