Have you tried using:

<script>
var newWindow = window.open();

// insert your other relevant code here..

newWindow.close();
</script>

Use the parent window to close the child. I use this method and it works
fine for me.

Jayson Falkner
[EMAIL PROTECTED]

P.S. What part of this question involved JSP? :)

----- Original Message -----
From: "ramalingeswara sarma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 08, 2000 8:28 PM
Subject: **** new window problem


> hi all
>         i am having a small problem with a new window (browser instance)
> that i am opening from a jsp file using javascript.
>
> the problem is that after i close the new window the mouse pointer shows a
> small hourglass beside it, i am closing the window with self.close() in
> javascript .
>
> can any one tell me what is the problem and please give me a solution
>
> thanks in anticipation
> sarma
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to