IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes How to display data on the next page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "How to display data on the next page" Watch "How to display data on the next page" New topic
Author

How to display data on the next page

Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
Hello!!
I am getting some alarms from my system. The no. of alarms depends on the performence of the system and its environment.
I am showing the alarms in a table with different "td" having different color depending on the category of alarm being raised.
Now, I want (say, after20 entries in this page), the next entries be shown in a different page, which will come when I click on some link like "page 2" and so on..
Exactly what I am looking on this forum, when some questions have so many responses, we have to look on the next page to continue, by clicking the link.
Can you give a simple code snippet or refrencfe for the same?


"Ignorance is bliss"
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
It is called using a database with paging, that is how this forum is done and you can not do it with JavaScript. You need to use a server side language to do it efficently.
 
 
subject: How to display data on the next page
 
Threads others viewed
AlarmManager clearing alarms after restart
book
RESTful Web service with JAX-RS - pagination and caching
Create a login, it is taking data by using five step
how to add data in request object and pass it to next page?
Two Laptop Bag