You should use:
<a href="url.do" target="_blank">

Do not use: 
<a href="javascript:window.open(...)
in your parent jsp


--- [EMAIL PROTECTED] wrote:
> Hi all,
> I recently had this problem with a pop up window.
> Sometimes after the pop 
> up window is closed the session in the parent window
> is lost too. Anyone 
> have any solution. I am working with JDeveloper and
> IE 6 using struts-ejb 
> (a framework based on struts).
> 
> Brati Sankar Ghosh
> Tata Consultancy Services
> Mailto: [EMAIL PROTECTED]
> Website: http://www.tcs.com
> 
> 
> 
> "Jirole, Amar" <[EMAIL PROTECTED]> 
> 05/06/2004 02:52 AM
> 
> Please respond to
> "Struts Users Mailing List" <[EMAIL PROTECTED]>
> 
> 
> To
> 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> cc
> 
> Subject
> RE: close pop-up window
> 
> 
> 
> 
> 
> 
> Step 4 is be simple : 
> map success forward to a jsp, which has something
> like this :
> <script>
> function refreshAndClose()
> {
>                  opener.focus();
>                  window.close(this);
> }
> </script>
> 
> <body onload="refreshAndClose()">
> </body>
> 
> Step 5 is more tricky and depends upon your app
> design
> 
> HTH
> -Amar
> 
> -----Original Message-----
> From: Julia Weaver
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 05, 2004 5:14 PM
> To: Struts Users Mailing List
> Subject: close pop-up window
> 
> 
> Hi,
> 
> I have done the following 1, 2, 3 steps, but do not
> know how to do step 4 and 5. Please help me, thanks!
> 
> 
> 
> 1. When the user clicks on the link a pop-up browser
> window appears with a form containing all the
> details
> about that item. 
> 
> 2. After modifying the item 's details the user
> clicks
> on the form Submit button. 
> 
> 3. The Submit action saves the changes to the
> database. 
> 
> 4. The pop-up windows closes. 
> 
> 5. The original, parent page 'refreshes ' to reflect
> the changes the user made in the pop-up windows.
> 
> 
> 
> 
>  
>  
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs 
> http://hotjobs.sweepstakes.yahoo.com/careermakeover 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> ForwardSourceID:NT00007EDA 
> > DISCLAIMER: The information contained in this
> message is intended only and solely for the
> addressed individual or entity indicated in this
> message and for the exclusive use of the said
> addressed individual or entity indicated in this
> message (or responsible for delivery
> of the message to such person) and may contain
> legally privileged and confidential information
> belonging to Tata Consultancy Services. It must not
> be printed, read, copied, disclosed, forwarded,
> distributed or used (in whatsoever manner) by any
> person other than the addressee. 
> Unauthorized use, disclosure or copying is strictly
> prohibited and may constitute unlawful act and can
> possibly attract legal action, civil and/or
> criminal. The contents of this message need not
> necessarily reflect or endorse the views of Tata
> Consultancy Services on any subject matter.
> Any action taken or omitted to be taken based on
> this message is entirely at your risk and neither
> the originator of this message nor Tata Consultancy
> Services takes any responsibility or liability
> towards the same. Opinions, conclusions and any
> other information contained in this message 
> that do not relate to the official business of Tata
> Consultancy Services shall be understood as neither
> given nor endorsed by Tata Consultancy Services or
> any affiliate of Tata Consultancy Services. If you
> have received this message in error, you should
> destroy this message and may please notify the
> sender by e-mail. Thank you.
> 
> 
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]



        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to