Jan 13th, 2010, 12:39 AM
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?
Jan 14th, 2010, 01:47 AM
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.