This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have some logic for doing some search which returns say 100 results. Now I want to segment it 10 per page (like google)and show it with 'prev' and 'next' buttons. So, if the search result is 100 it'll generate 10 pages connected by these two buttns.
Actually all the controlling part should be either done in servlet or EJB. In your case u r using a jsp page right.
So u have to obtain a HttpSession object to create a session object. The results should be appeneded to a Vector. Then u add this Vector to session object. Then u can either forward the request using jsp tags or sendRedirect method. The Vector object can be available in the next page, so u can display the specific results on that page according to u r logic.