• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display records of mysql database in multiple web pages (page1,page2..) using jsp

 
m.venkat Rao
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I have fifty records in mysql database.I have to display 10 records per page using jsp.whenever we add new record into database it should automatically add in the page.can anyone help me.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the JSP FAQ for information on how to display information in "pages".

As for "automatically" updating the display when a record is added, that's not going to happen. Your code will need to either periodically refresh the page, or use Ajax to check for new information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic