Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
Implement Paging in Spring 2.5 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Implement Paging in Spring 2.5


    I have an already built web application using Spring 2.5.
    Now I want to implement paging in it. I have used Spring JDBC as follows to fetch the data:
    " getSimpleJdbcTemplate().queryForObject("SELECT * FROM table WHERE id = ?", rowMapper, id);"
    In jsp, I have used JSTL.

    Now how can i implement paging in my application?



  • #2
    one option would be to have a hidden field that has the last record, and when you click to see next records you have to pass that hidden to request.

    you have to implement it in your DAO.

    and you have to display that table with ajax.