Welcome to CodeRanch! I added code tags to make this display better.
Yes, you can use logic:iterate to loop through the 3 elements. You use the type attribute to say the type of class in the list is userinfo. Then you can use bean:write's property attribute to output the right field.
And a note on Java conventions. It is convention to use camelcase for class names so userinfo would be UserInfo. Similarly, it is convention for fields to be lowercase so Users would be user. Following these conventions will make it easier for others to understand your code and is a good habit to get into.
Joined: Oct 14, 2010
Thankx Jeanne Boyarsky ...
just i have change my code in previous post and look into the code and give me reply.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Vector using logic:iterate in struts framework