This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
It's not a secret anymore!