Im using struts 1.3 + spring 2.5 + hibernate 3.
I have two tables: category and product.
Im using tags-logic to load data from category.
<logic:iterate id="cat" name="catList">
<bean:write name="cat" property="catName" />
</logic:iterate>
But when I use tags-logic again to load data from product in same page
<logic:iterate id="pro" name="proList">
<bean:write name="pro" property="proName" />
</logic:iterate>
it errors, and throw Exception: << Cannot find bean: “proList” in any scope >>
How can I resolve it? I want to load two data table from database in one page. Please help me.
Your Action class should have code something like this, i think you have missed to add proList in request.
try below code