This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
ok.. from an html page i am submitting form action to servlet. where I am retreiving data thru sql. now I want to display the selected data in another JSP. I just need to know how to link servlet to a new JSP. hope i cleared my question.
I assumed we wanted to get some data from the server, and elaborated a bit with the call to get data from the model. It's common for the servlet to get something from the database (for example) and put the data on the request, then forward to the JSP which gets that data and merges it into the response HTML.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Jan 29, 2003
Wow, you answered my question while I was typing! Now the bad news: I do this so rarely I don't have the answer to your question memorized. I'll be back in a few minutes after I dig up an example.