Hi all,

I need to apply the pagination concept in my jsp page. The result set which is used to serve the jsp page is obtained through a dynamic query. Is it possible to apply the pagination concept in this case.. Please advice me ..
Is it possible to do this type of pagination thru client side scripting...
Many thanks in advance..

gk.

Recommended Answers

All 2 Replies

Pagination requires both, server code (java) and client code (xhtml, javascript).

>Is it possible to do this type of pagination thru client side scripting...

Not just client side scripting unless you plan on retrieving *all* the records in a single go and looping or rendering them selectively. This is certainly not recommended since you end up retrieving data which might not even be used by the client along with the obvious performance implications.

> Pagination requires both, server code (java) and client code (xhtml, javascript).

Client side scripting is a good to have usability feature but definitely not necessary for implementing pagination.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.