struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Lu <z...@umich.edu>
Subject iterate tag usage
Date Tue, 12 Feb 2002 19:58:58 GMT
I have a jsp page with the following code:

<logic:iterate id="regList" name="RegForm" property="listArray">
<bean:write name="regList" property="listArray"/>
</logic:iterate>

and in the RegForm.java java bean, we have the following code:

   private String[] listArray;

   public String[] getListArray()
   {
      return listArray;
   }

But when I query the page, I got error:
javax.servlet.ServletException: No collection found

Why and how to fix?



---------------------------------------------------------------------------
Henry Lu
MCIT                                            phone: (734) 936-2063
University of Michigan Medical Center           fax:   (734) 763-4372


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message