This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Display tabular Data using logic iterate tags. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Display tabular Data using logic iterate tags." Watch "Display tabular Data using logic iterate tags." New topic
Author

Display tabular Data using logic iterate tags.

Raminder Singh
Ranch Hand

Joined: Mar 01, 2002
Posts: 72
Hi,
Let say we have some data in table.

ID -- Zone -- Country -- City
1 -- Asia -- IN -- DEL
2 -- Asia -- IN -- MUM
3 -- Asia -- IN -- CHD
4 -- Asia -- JP -- TKO
5 -- Asia -- JP -- HRS
6 -- North America -- US -- NYC
7 -- North America -- US -- DEN

now i have a list having ROW data as objects.
how can i display this data in below format using <logic:iterate>??

Asia -- IN -- DEL
-- -- MUM
-- -- CHD
-- JP -- TKO
-- -- HRS
North America -- US -- NYC
-- DEN.

thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Please be sure to ask Struts questions in the Struts forum. I've moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864

</table>
[ November 02, 2006: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Display tabular Data using logic iterate tags.