File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how can we retrive values from a table into a jsp  page using next button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how can we retrive values from a table into a jsp  page using next button" Watch "how can we retrive values from a table into a jsp  page using next button" New topic
Author

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

Amit Yadav
Greenhorn

Joined: Aug 09, 2007
Posts: 8
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

Joined: May 26, 2003
Posts: 30753
    
156

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61417
    
  67

There is a FAQ entry on this subject.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can we retrive values from a table into a jsp page using next button