aspose file tools*
The moose likes Struts and the fly likes Variable Number of Table Rows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Variable Number of Table Rows" Watch "Variable Number of Table Rows" New topic
Author

Variable Number of Table Rows

Lou Pelagalli
Ranch Hand

Joined: Nov 11, 2003
Posts: 150
    
    1
Hi All,

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.


Thanks You in Advance for Your Help,

Lou
[ May 26, 2004: Message edited by: Lou Pe ]
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

check out the logic tags


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Variable Number of Table Rows