Pagination and data sorting using only JSP and Servlets.