Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Struts 1 :how to display collection
amit sharma
Ranch Hand
Posts: 129
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have collection which contain objects of type say ABC .This ABC is bean and has 2 properties.I want to show the values of this collection in tabular format.
Thanks
Merrill Higginson
Ranch Hand
Posts: 4864
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Here's an example:
<table> <logic:iterate id="myBean" name="myCollection"> <tr> <td><bean:write name="myBean" property="prop1"/></td> <td><bean:write name="myBean" property="prop2"/></td> <td><bean:write name="myBean" property="prop3"/></td> </tr> </logic:iterate> </table>
Merrill
Consultant,
Sima Solutions
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Can any one explain Garbage Collection
String
Generating all the permutations nad combinations of the given alphabets
Garbage Collection
when actually an object lost all its reference and eligible to became a candidate for gc
More...