This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

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: 60049
    
  65

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
 
Similar Threads
Passing table as parameter to next page(JSTL)
information required JSP page integration
how to give next and previous button functionality to retrieve next question from database.
JSP Design Question about paging data
JSP- finding the table row selected