Hi, I got the above error when I ran my struts app. I am not using a form for this action since I only need to display it. And I am using Tiles framework for this. I put a collection into session and use logic:iterate 's property attribute to get it on jsp. Is this the right way to do it? Appreciate any help.
posted 13 years ago
yes you can, but I prefer to pass a jsp bean containing collection to the request object, and the use the logic:iterate tag to iterate over the collection. when you pass the arrayList in the request object, you can access it using collection attributes. You need to specify an expression to get that arraylist, like <logic:iterate collection="<%=request.getAttribute(...)%>" id="..." type="..."> rgds beN