• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet-jdbc

 
harivarma mudunuru
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am accessing data base using servlets.How can i display ten data items per page?
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
create a session object. Have a counter i;check the condition for for i==10; Any way u are going to use rs.next(). so next time if u click another 10 results will be retrieved
 
Frank Carver
Sheriff
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we need a bit more detail about what you are having problems with. Do you have problems using JDBC? Do you have problems with the Servlet API? Do you have problems installing or configuring servlets or a servlet container? Do you have problems with producing SQL to give to JDBC.
Please let us know which bits you are happy with, so that we can help with the bits which are not clear.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic