This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes Window.opener problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Window.opener problem" Watch "Window.opener problem" New topic

Window.opener problem

sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
Hi All,
Thanks in advance.
I am facing the below problem since 4 days please help me.
I have a main page which is having link to open a popup window and that popup window consists two jsp's ,one file is included using <jsp:include> and in this page i will get the one link to onther popup window with three text fields.
When i open a popup window from that pop up i will get users list and i can select the user from that list ,after clicking that i will get that user name in parent popup, this is happening only first time.
When i submit main popup the value is inserting only first time,but from the second step iam not even getting values from previous(child popup) page in that text filed.

If i have not clicked the submit button of main popup the text box field of main popup gets updating with new values.

I wrote <input type='text' name='userID'> thats it.

Please help me.

Thanks a lot
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Well, I appreciate your hardwork in explaining the situation. But it is still unclear to me. I hope you can make it more clear.

- You can go point wise
- Name the popup with some relevent word instead of using the word "that" 100 times.

I agree. Here's the link:
subject: Window.opener problem
Similar Threads
passing value to and from popup window
request parameter is missing
Popup to parent communications
using ajax and struts iterate tags
Javascript new window is not opening from a jsp page