I just had this exact same problem, and it was because I forgot to put the <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> tag into the template page.
Simon -----Original Message----- From: Brian M. Zhang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 29 January 2002 9:43 a.m. To: 'Struts Users Mailing List' Subject: logic:iterate with Struts template Hi, I have a jsp page which contains the following logic:iterate: <logic:iterate id="product" type="com.myCompany.myPackage.Product" name="productArrayList" > <tr> <td><bean:write name="product" property="name" filter="true"/></td> <td><bean:write name="product" property="desc" filter="true"/></td> </tr> </logic:iterate> productArrayList is a session variable holding an ArrayList object for com.myCompany.myPackage.Product classs. This page works just fine when it is by itself. However, when I use it as part of another page using Struts template, the <logic:iterate /> doesn't work any more. The template setting is ok as everything works just fine when the <logic:iterate /> part is removed. Any ideas? Thanks. Brian -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>