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.
My task is to search an Oracle database with SQL and display the search results based on what the user entered in certain fields - a simple search engine for our application.
The problem is: I won't know how many rows the the <table> tag will contain until the search is complete and the results are returned in an ArrayList.
I need to display one table row for each entry in the ArrayList. The number of search results could be zero to n. The number of columns to display will always be 12. The first row displayed will be column headings.