abstract the pagination codes to common jsp page.