RE: Jsp window opener
Here's a snippet from one of my apps script language=JavaScript1.2 function selectFile( p ) { window.opener.document.%= request.getParameter(textboxPath) %.value = p; window.close(); } /script -Original Message- From: Aline [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 8:31 AM To: Tomcat Users List Subject: Jsp window opener Hello, I have a jsp page with a form. In this form there is a button which send parameters to a servlet and this servlet forward the request to another jsp page ( all in popup). Is there a way to get, from the popup window, the opening window ? I have to reaccess to a field in the form. Thanks. Aline http://www.oeilpouroeil.fr http://www.visiodrome.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Jsp window opener
I'm not exactly clear on what you're trying to do from your description. From what I understand from your question it should be possible to do what you're attempting by using either a session bean. THis will allow you to store the values in your field across multiple requests. Alternitively if the pop-up window is still open you can retieve the fields values by using javascript (i.e. parent.opening window.form name.field name.value or something like that) -Original Message- From: Aline [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 3:31 PM To: Tomcat Users List Subject: Jsp window opener Hello, I have a jsp page with a form. In this form there is a button which send parameters to a servlet and this servlet forward the request to another jsp page ( all in popup). Is there a way to get, from the popup window, the opening window ? I have to reaccess to a field in the form. Thanks. Aline http://www.oeilpouroeil.fr http://www.visiodrome.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Jsp window opener
I tried the different solutions, but the parent of my popup window seem to be the servlet and not the first jsp page. Is there an other solution? Aline Alternitively if the pop-up window is still open you can retieve the fields values by using javascript (i.e. parent.opening window.form name.field name.value or something like that) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]