In display tag I used pagination feature, when I want to see the list of 15 rows but display tag fetches all the rows from database. Every time when i click on pagination nu
Displaytag sends it’s pagination and sorting data using parameters that start with “d-”.
So quick solution can be to check if request contains something starting with "d-",if yes then dont execute your query again.