Pramod wrote:

I have a bean object in the jsp page. How can i use the logic:iterate tag to producing the result?


If the bean has a Collection say "collection" , you can do

<logic:iterate id = "element" name = "bean" property = "collection">
<!-- here you can refer to each element in collection using "element" -->
</logic:iterate>

note: you should have a getter method for "collection" in the "bean", for e.g. getCollection()





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to