Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2007, 12:34 AM
Registered User
 
Join Date: Mar 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Navigating through the data in MySQL

 Hi all,

Can Someone please help me in navigating through the data present in database table on a form by using " NEXT " & " PREVIOUS " buttons using JSP.



                             Id : 009
                        Name : Abc
                Percentage : 81


                 << PREVIOUS NEXT >>


this is the structure.

Thanks in advance,
Prad.

 
Old March 23rd, 2007, 07:48 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

You can pass the next studen it say 010 to a servlet and use DAO to get the data for the 010 id and forward the values to the jsp. The next link will point to the servlet with the next id as parameter
ex. <a href="nextservlet?id=010">Next &gt;&gt;></a>

Regards,
Rakesh

- Rakesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in navigating kk2ka4 XSLT 1 November 12th, 2008 01:45 AM
Navigating through the data in MySQL prad_a MySQL 4 March 23rd, 2007 01:58 AM
Navigating data in a subform Bob Pierce Access VBA 2 February 1st, 2007 10:58 AM
Navigating Recordsets w/out specifying name Tethys Access VBA 7 December 5th, 2005 04:47 PM
navigating a dataset ranakdinesh BOOK: Professional C#, 2nd and 3rd Editions 4 June 1st, 2004 11:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.