-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Actually, I'm pretty sure you can dynamically target a frame from the
server-side *if* the client is runing a Netscape browser by sending a header
like "Window-Target: _top" or something quite similar.  Of course, this is a
Netscape extension so it might only be appropriate for an intranet
environment.

Otherwise, you're stuck in whatever frame the refering page pointed you to,
just as Jim described.

----- Original Message -----
From: Jim Richards <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Sunday, September 26, 1999 10:50 PM
Subject: Re: response.sendRedirect to a _top or _parent


> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
>
> >how can I response.sendRedirect to a _top or _parent window in a frame?
>
> You can't, you have to initiate it from the form action, or anchor that
initiated the call.
>
> so you use the target html attribute
>
> <a href="/servlet/YourServlet?name=value" target="other_frame">
>
> or
>
> <form action="/servlet/YourServlet" target="other_frame">
>
> Have fun ...
>
>
> --
> Subvert the dominant paradigm
>  http://www.cyber4.org/members/grumpy/index.html
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>
>


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to