I am trying to make a simple question/answer JSP web app.
By using three tables, tblQuestions , tblAnswers , tblUsers.
I am able to show all the data from the tbQuestions, but could not find a way to insert the appropriate answer against the desired question. When I click the "Answer this" all I got the last entry from the tblQuestion.
I want to know how to give answer to the right question, not the last one