dcsimg
page display
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zhebin_cong
Posted On:   Tuesday, November 11, 2003 07:22 PM

hello:
i have queried tons of data from the db in my project,i want to display them in my browser PAGE BY PAGE,but i have not find such code sample,i wonder if there are such taglib now,who can help me?

thank you very much!

Re: page display

Posted By:   r_s  
Posted On:   Monday, November 24, 2003 11:00 PM

Hi,


Page by page display of resultsets is very easy using the features of JDBC 2.0



Take a look at the simple methods to use scrollable resultsets using which you can direct the curson from row to row that need to be shown on a page.


Check out:


http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/exercises/SRS/index.html


AND


http://java.sun.com/docs/books/tutorial/jdbc/jdbc2dot0/cursor.html


Rommel.
About | Sitemap | Contact