It is through the same action that it has to be carried out. The thing is we have a parent window where we have a field "NAME". This is a select button field upon which opens a child window where we need to select multiple rows. On the selected basis the NAME field and few other fields in the parent window shall get populated.
We could manage to get the child window open by clicking the select button next to NAME field and also could able to pull in the values from database. Now the challenge for us is to send back the selected rows of values back to the parent window fields.
What Jesus Mireles said. I would have used session to backup the user selected data but that's up to you. The usage of a new window for collecting specific user input is quite common now although I hate it for the most part from user POV.
Coderanch, best ever forum on the net. Hands down.
I am also having 2 jsp's. 1 is parent & other is child. I want to pass the selected values from child to parent page.
I tried using request.getParameter,tat didn't work. Could anybody give me some suggestion to get the values passed from child to parent window?
Any suggestions would be highly appreciated. .
This can be done in various ways.
If you are using struts1 you can use
to display any message from properties file.
Also if you want to display an image
Depends on what you want to display.
Take up one idea. Make that one idea your life; dream of it; think of it; live on that idea. Let the brain, the body, muscles, nerves, every part of your body be full of that idea, and just leave every other idea alone. This is the way to success.
subject: How to send back list of values from child window to parent window?