I have a web application which has a search facility. On the home page I have a search box in which the user can enter the criteria for searching and click on the Search button. After the button is clicked, we send the AJAX request to the server (Struts Action), which hits the database using DAO layer and fetches the search result.

Now I want to send this search result back to the client side and render the result in a `<div>` tag using jQuery. One page can contain 10 results. If the user clicks on 'next page' we want to show another 10 records.

What would be the best way to do this?