• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can we retrive values from a table into a jsp page using next button

 
Amit Yadav
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am trying to make a online examination project in java. in this project there is a table name as question.the structure of the table is

Qno , Question, option1, option2, option3, option4, Ans, marks_of_question


i have stored some question in this table.

problem is, i want to retrieve these question 1 by 1 onto a jsp page using next button. and also want total no of marks at the end of exam.

please anyone help me to make this project.

thanks in advanced
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Amit Yadav:
problem is, i want to retrieve these question 1 by 1 onto a jsp page using next button. and also want total no of marks at the end of exam.

For retrieving the questions one at a time, search the JSP and JDBC forums for "paging" or "pagination." For the total number of marks, you can just write a query.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a FAQ entry on this subject.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic