Servlet in a different window

Discussions

Web tier: servlets, JSP, Web frameworks: Servlet in a different window

  1. Servlet in a different window (1 messages)

    Hi! Is it possible to tell a servlet to be open in a different window from the one it was called? Let´s suppose I have an HTML page with a link to a servlet in it. I want the result (the servlet) to be shown in a new window. I´ve tried the "Javascript/HTML way" (window.open, target=_blank, etc) and it doesn´t work, so now I would like to try something inside the servlet, but I don´t know how to do it. Any ideas? Thanks.
  2. Servlet in a different window[ Go to top ]

    IMHO , It is the HTML/Javascript which opens the servlet in a new window

    You can't do any thing in the servlet being opened to cause it open in a new window

    I suggest you take a another look at the HTML code which you said is not working