Well, you can't directly, but you can indirectly. A sendRedirect will
always happen inside
the active window, that's just the way HTTP and browsers work. What you can
do to get
around this is to have the resulting page pop up the window and call the
page that you really
want as the resulting page, passing all of the appropriate parameters, if
needed. Remember,
though, there are some good reasons not to use pop-up windows (e.g.,
session issues with IE).
-----------------------------------------
I'm almost positive you can't. I investigated this quite a bit and all of
the sources I consulted said it couldn't be done. You can specify a target
in an HREF tag or in a form, but not in a servlet redirect.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Alan Goodenough
Sent: Wednesday, March 15, 2000 11:03 AM
To: [EMAIL PROTECTED]
Subject: Re: sendRedirect or forward?
on a similar train of thought, is it possible to sendRedirect to another
window or frame??
alan
-------------------------------------
Eric M. Andersen
I/T Specialist
IBM Global Services
Tel: (781) 895-2637, Fax : (781) 895-2843, t/line : 362-2637
Internet ID: [EMAIL PROTECTED]
Lotus Notes ID: Eric M Andersen/Waltham/IBM
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets