wood burning stoves 2.0*
The moose likes JSP and the fly likes How to display questions one by one from database in jsp page and how to navigate to next question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

How to display questions one by one from database in jsp page and how to navigate to next question

Kailash karayat
Greenhorn

Joined: Jun 22, 2012
Posts: 10
hi all,


I am creating an online examination system, i am bit confused on some of the below mentioned points:

1)how to get one by one record in the jsp page.
2)how the next and the back button in that page will work(i mean the code part)
3)how to store the user's selection in the database.

i have created a bean to reterive question from database and then using the bean in jsp but confused in how to display one question at one time


thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Only fetch one question at a time. Why fetch things you're not going to show?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

Kailash,
This looks like the same as your earlier post.


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Indeed, please do not post the same question more than once.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display questions one by one from database in jsp page and how to navigate to next question