This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, I am facing lot of issues in <html:iterate> tag.I try to populate collection values as label for radio buttons. Here is the code.
<table> <logic:iterate id="mapID" name="utilMap" property="salutationMap" scope="session"> <tr> <td> <html:radio property="mapProp" value='<bean:write name="mapID" property="key"/>' /> <bean:write name="mapID" property="value"/> </td> <tr> </logic:iterate> </table> I set the 'utilMap' Object ,which contains getSalutationMap(), in session. But i am getting following error. javax.servlet.jsp.JspException: Cannot find bean under name org.apache.struts.taglib.html.BEAN at org.apache.struts.taglib.html.RadioTag.doStartTag(RadioTag.java:189) Can you explain me what went wrong?. 1. Is it required for a class ,referred in iterate tag, to be set in request/session?. 2. Should i need to make any additions in ApplicationResources.properties file? Your guidance is highly appreciated. thanks krishna