Robert,
I've found that IE5 will carry over session information, while IE4 (and
potentially others) will not. Request variables won't exist because your
not posting a form. You can, however, pass parameters in manually via the
querystring. You can also use Javascript to pass information to and from
your new window.
Hope this helps.
Matthew
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert Young
Sent: Wednesday, January 26, 2000 5:13 PM
To: [EMAIL PROTECTED]
Subject: opening window w/javascript --> session and parameters
the following function does what i want: open a window[frame] under
javascript
control so that users can subsequently close it w/o that obnoxious dialog.
function showCaps() {
if ( someData == true ) {
capFrame = open('viewCaps.jsp', 'viewCaps',
'height=50, width=200, left=500, top=600, resizable,
scrollbars');
capFrame.focus();
}
else if ( someData == false ) {
capFrame.close();
}
}
however, neither session variables nor request parameters seem to exist.
since the form
is calling a "servlet", i expected to be able to use them. no luck. is
this a known
problem with a known solution?
thanx,
robert young
===========================================================================
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