Hi All,
I am using following code and defining <bean
efine> tag inside <logic:iterate>. I am trying to pass the the id of <bean
efine> as a parameter in params.put. But it is giving me error. My code is as follows:
----------------Code---------------
<logic:iterate id="id_duplicatecompany" name="al_duplicatecompany">
<tr>
<td width="26%" class="<%=style%>" >
<bean
efine name="id_duplicatecompany" id="paramcompany" />
<%
java.util.HashMap params = new java.util.HashMap();
params.put("cid",paramcompany);//Giving error here.
pageContext.setAttribute("params",params);
%>
</td>
</tr>
</logic:iterate>