Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get value selected on jsp2 on text field of jsp1?-urgent help!

 
Liz Brown
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I have a jsp page(jsp1) with 4 text fields and 3 buttons at bottom.

3 of the text fields have images next to them.
For example: for 1 text field, when user clicks on that image next to it(in jsp1), a jsp page(jsp2) pops up with some information. User clicks on the name from the list by selecting radio button there and presses 'select' on that pop up jsp2 page. After select is pressed the name chosen is to be displayed in the text box of jsp1. Any idea how to do this?
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP 1 should have a form bean associated with the page. When the page is submitted the data in the three text fields should be part of the form bean. User the appropriate bean attributes in jsp 2 the get the required text field information.
 
Liz Brown
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to creatan pop-up window? Could youplease add more details to your reply. It's not quiet clear.
thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic