This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a condition where I need to sent data to a jsp from the java class.
I have 2 jsps in the same page using iframes. In the 1st jsp I am letting the user to fill a form. The details filled by the user is inserted into the DB. Now I want to display the contents from the DB along with the data that the user just entered.
Onsubmit of the 1 jsp I am inserting the data into the DB and forwarding it the same jsp (1st jsp). So that the user can enter data again. And I am refreshing the 2nd jsp every 4 sec so that I can get the data just entered. Both the jsps are displayed in the same page.