Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 50424 invoked from network); 21 Jan 2002 11:58:19 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Jan 2002 11:58:19 -0000 Received: (qmail 22531 invoked by uid 97); 21 Jan 2002 11:57:55 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 22479 invoked by uid 97); 21 Jan 2002 11:57:54 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22468 invoked from network); 21 Jan 2002 11:57:54 -0000 Message-ID: <3A9D17BF9810D41196A300D0B74457792887BB@THOR> From: Brian Adams To: 'Tomcat Users List' Subject: RE: use JSP open new window Date: Mon, 21 Jan 2002 05:35:13 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N yes, I was thinking about this too and I would (if you had to) make the call to the jsp page that wanted in a new window with a parameter like: response.sendRedirect("http://localhost/window.jsp?window=1"); return; then in your window.jsp page put: <% if("1".equals(request.getParameter("window"))){ %> <%}%> That is if you wanted to have a page that could be seen in the original window or in a seperate window. I don't know if you need that function... B -----Original Message----- From: Guillermo Labatte [mailto:labatteg@yahoo.com] Sent: Monday, January 21, 2002 5:55 AM To: Tomcat Users List Subject: Re: use JSP open new window Galbayar wrote: >how to use sendRedirect method to open new browser window? > As far as I know, sendRedirect works at the HTTP level. In order to open a new browser window you need to operate at the HTML/JavaScript level. Use something like in your HTML code in order to open a new window without user intervention. Please check the exact syntax in your HTML/JavaScript manuals. -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: