This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We are fetching data from DB using servlets and forwarding that data as o/p to the enduser in jsp page.if we r fetching 200 rows from the database,if it displays all the 200 rows at a time the perofrmance will be low .how can we display allthe rows at a time with out effecting the performance
One way you can do is to get all the records and store in session, then display 10 records using pagination. So if the user clicks next, next 10 records will be displayed from the session (it does not need to go back to database). But if you dont want to use sessions, then I am not sure.