To all,
I have a bean that's present in a JSP, does anyone know how to loop through a bean and list out the properties available?


Here's the cose I have

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html><head><title>form.heading</title></head>
 <center><body><h4><bean:message key="form.heading" /></h4>
        <logic:present name="forms">
          <table border="1">
          <logic:iterate id="forms" name="forms">
          <tr><td>
                <bean:write name="forms" property="formName"/>
             </td>
             <td>
                <bean:write name="forms" property="formDesc"/>
             </td>
     <td><a href="<bean:write name="forms" property="formLocation"/>.do "/>
         <bean:write name="forms" property="formLocation"/></a>
             </td>
          </tr>
          </logic:iterate>
        </table>

        </logic:present>

 </body></center>
</html>


I don't know why but "formDesc" can't be found, but the bean is present in the JSP/


I'm using IntelliJ. Does anyone know a good IDE or add in for debugging JSP's?

Thanks,
Jim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to