It has nothing to do with the server side ... you'll have to use Javascript
to do this.  You can numerous examples of this from the Javascript websites
for things such as Calendars.

Thor HW
----- Original Message -----
From: "Lietz, Carol" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 07, 2000 8:35 PM
Subject: Main window and pop-up window - how to know when pop-up was close d


> I have a main servlet window which has a hypertext link to a pop-up window
> which appears on top of the main one.  In this pop-up, the user changes
> certain values and clicks OK.  This saves the changes in an object I've
> stored in the session and then closes down the pop-up.   My question is
> this:  Is there anyway for the main window to know that the pop-up was
> closed down?    I'm wanting this main window to realize the pop-up was
> closed and then change it's appearance based on what the user did in that
> little pop-up.   But since there is no "event" occurring on the main
window,
> it just sits there.  (Which in most cases would be the exact behavior I'd
> want; not here.)
>
> If the solution is to use HttpSessionBindingListener, could someone point
me
> to a place where there is an example on how to use this interface?  I have
> two servlet books, but neither gives me enough info to understand how to
> hook this in.
>
> Any help would be most appreciated.
> Thanks,
> Carol
>
> P.S. In case this helps, I open up the pop-up using javascript's
> "window.open()" and I close the pop-up using javascript's "window.close()"
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to