Hello guys.. Please help me in displaying the contents of the table. I have the following in my database: 3 radio buttons (siteName/siteSequence) each siteSequence has the following select options (siteTemplate/siteTemplateSequence) Example:
siteName siteSeq siteTemplate siteTemplateSequence X 1 A,B,C 1 Y 2 D,E,F 2 Z 3 G,H,I 3 For every siteList(radio button), it will display the corresponding siteTemplate Now I have this code in my JSP <c:forEach items="${siteList}" var="element"> <tr> <td><html:radio property="siteSequence" value="${element.siteSequence}"/><c:out value="${element.siteName}"/></td> <td> <html:select property="siteTemplateSequence"> <html:option value=""></html:option> <c:forEach items="${templateList}" var="template"> <html:option value="${template.siteTemplateSequence}">${template.siteTemplate}</html:option> </c:forEach> </html:select> </td> </tr> </c:forEach> In the above code, the 3 buttons are displayed and each has their select options, but the contents of each options does not corresponds to each siteSequence, instead it displays all the siteTemplate for each select options (A,B,C,D,E,F,G,H,I).. How will I connect the siteSequence to the siteTemplate so that it will display only the corresponding siteTemplate for each siteName? Please help me.. Hiro -- View this message in context: http://www.nabble.com/Displaying-table-contents-tf4480149.html#a12774871 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]