This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Insert appropriate data against right question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Insert appropriate data against right question" Watch "Insert appropriate data against right question" New topic
Author

Insert appropriate data against right question

malik ge
Ranch Hand

Joined: May 13, 2011
Posts: 69
Hello,
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




Thanks
 
Consider Paul's rocket mass heater.
 
subject: Insert appropriate data against right question
 
Similar Threads
I want to display the details of employee. in prescribed format
when i retrive data from access it showing empty page in tomcat
JDBC code with type 1 driver not working
Error coming 500 please an code is
best option for implementing form