I am using frames for my application. on top of the frame i have 5 text boxes from which one is to enter loan number and other fields are name, address, broker and one more user enters loan number and clicks on search and result is displayed in main page. i want to populate 4 other fields on top frame with same data coming from database. how do i do this? i am using post method when search button is clicked.