Advertisement

04.17.2007 at 10:39AM PDT, ID: 22516733
[x]
Attachment Details

pagination in jsp : [1-5],6,7,8,9,10,[11-15]

Asked by royalcyber in Java Standard Tag Library (JSTL) & Server Tags, Java Programming Language, Java Server Pages (JSP)

Tags: pagination, jsp, code

Hi
I want to do pagination in jsp

this is a store locator

user will enter zipcode
and it will bring back values

I need to show 10 rows per page
and at the bottom it shows the following for the pages:
...............1,2,3,4,5,[6-10],[11-15]

If i click on page "6" it should show something like

[1-5],6,7,8,9,10,[11-15]


can u pls provide me some sample code

thanks for all your help!!!!!!!!!!!!!!!!!!!!!!

Start Free Trial
 
Keywords: pagination in jsp : [1-5],6,7…
 
Loading Advertisement...
 
[+][-]04.17.2007 at 11:30AM PDT, ID: 18926419

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Standard Tag Library (JSTL) & Server Tags, Java Programming Language, Java Server Pages (JSP)
Tags: pagination, jsp, code
Sign Up Now!
Solution Provided By: CEHJ
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.17.2007 at 11:50AM PDT, ID: 18926555

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2007 at 11:54AM PDT, ID: 18926589

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.18.2007 at 12:26AM PDT, ID: 18930054

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.19.2007 at 02:10AM PDT, ID: 18937574

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.08.2007 at 02:03PM PDT, ID: 19441372

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.13.2007 at 09:37PM PDT, ID: 19485892

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32