File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes iterating tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "iterating tables" Watch "iterating tables" New topic

iterating tables

Sekhar Kapoor

Joined: Apr 24, 2007
Posts: 15
posted Yesterday 3:15 AM
I have an arraylist which contains Employee information. I need to show it in a table format so that it is displayed as below.
Each Employee handles various operations for diffrent varieties of parts.
For each employee I have to show the operations and parts in a tabular format.Also after each employess information, there will be a second table which will summarise the number of operation for each part for the employee.
These two table will come sequentially for each employee. Can anyone help me how the coding should be done. I am using struts. So will have to have the logic in the java file. and have to use bean property in jsp iterate tag to show the tables..
O. Thoms

Joined: Nov 21, 2006
Posts: 10
Something like this ??
(Just a quick draft you should add some formating and maybe logic:empty checks)

which would lead to something like:

[ January 16, 2008: Message edited by: O. Thoms ]
[ January 16, 2008: Message edited by: O. Thoms ]
I agree. Here's the link:
subject: iterating tables
jQuery in Action, 3rd edition