aspose file tools*
The moose likes JSP and the fly likes how to display records of mysql database in multiple web pages (page1,page2..) using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to display records of mysql database in multiple web pages (page1,page2..) using jsp" Watch "how to display records of mysql database in multiple web pages (page1,page2..) using jsp" New topic
Author

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

m.venkat Rao
Greenhorn

Joined: Oct 19, 2010
Posts: 4
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

Joined: Jan 10, 2002
Posts: 61424
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: how to display records of mysql database in multiple web pages (page1,page2..) using jsp