shalom rivka,

there is no whatsoever relation between html-controled browser windows 
and the backend struts-java-code.

besides, you can access the new window from the old window using its
name, and you can access the old window from the new window by
window.opener or window.parent (depends on how you open it).

Sessions are not window-based, sessions are browser based, as long as
the browser sends the same cookie back, it will be identified as the
same session, and yes normally the browser sends the same cookie for
child windows.

you can't define a child window in jsp, you can do it in html or
javascript.

like window w = window.open(theURL,winName,features);

regards
leon


On Mon, 2005-08-01 at 16:31 +0200, Rivka Shisman wrote:
> Thanks guys
> 
> 2 related questions:
> 
> 1. What are the relations between the new window and the original one?
> Do they share the same session attributes?
> 
> 2. How do you define a child window in JSP - can you please attach an
> example?
> 
> Rivka
>  
> -----Original Message-----
> From: Mark Benussi [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 01, 2005 3:12 PM
> To: user@struts.apache.org
> Subject: RE: forward to a new window
> 
> when writing a link the target attribute can be set with _new or _blank
> or 
> even the name of a child window. When youclick on the link it will open
> in 
> said new window.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> **************************************************************************************************
> The contents of this email and any attachments are confidential.
> They are intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager or  
> the 
> sender immediately and do not disclose the contents to anyone or make copies.
> 
> ** eSafe scanned this email for viruses, vandals and malicious content. **
> **************************************************************************************************
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to