Results 1 to 2 of 2

Thread: Implement Paging in Spring 2.5

  1. #1
    Join Date
    Jan 2010
    Posts
    3

    Default Implement Paging in Spring 2.5

    Hi

    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?

    Regards

    Vardeep

  2. #2

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •