It depends on how you're sending the request. If you might try the TARGET
attribute in the anchor tag (i.e. <A HREF="my.html" TARGET="leftframe"></A>) or
even in the form tag (i.e. <FORM ACTION="my.html" TARGET="leftframe"></FORM>
This might also work from within the JSP (or servlet code):
response.setHeader("Window-target","_top");
This works much like a meta tag in the header of an HTML file. Replace "_top"
with whatever named window you want to send the page to. I got the idea from an
HTML META tag primer (http://www.webdeveloper.com/html/html_metatags.html) It
seems to work nicely.
--mascha
______________________________ Reply Separator _________________________________
Subject: Can I send a response to specific frame?
Author: Nir Daniel <[EMAIL PROTECTED]> at Internet
Date: 1/6/00 6:44 PM
Hi,
I get request from leftFrame.jsp and I like to send the response to
rightFrame.jsp or leftFrame.jsp depending the process result in my servlet.
Is there a way to do it?
Thanks,
Nir
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html