This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Simple client side pagination in spring3 mvc is not working ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Simple client side pagination in spring3 mvc is not working ?" Watch "Simple client side pagination in spring3 mvc is not working ?" New topic
Author

Simple client side pagination in spring3 mvc is not working ?

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 243

I am trying to implement simple client side pagination no luck yet. my code for controller is



And jsp page code is


This code is displaying first 5 records well, but on clicking previous and next link data is not refreshing
(ie., next records are not displaying only those first 5 records are displaying)
Thanks in advance for any help
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1646
    
    7

Look at the HTML that the browser sees. If you want pure client side pagination you are going to have to use javascript that can run on the browser to change the page.

If you want to handle this server side you can have a look at this.
http://stackoverflow.com/questions/2245035/how-to-implement-pagination-in-spring-mvc-3


[How To Ask Questions][Read before you PM me]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Simple client side pagination in spring3 mvc is not working ?
 
Similar Threads
taglib question.
Implementation of google charts in JSP
Best choice for pagination?
c:choose, c:when, c:otherwise : I can't find what's wrong
A JSTL doubt while assigning a variable using <c:set/>