<logic:iterate id="usr"
name="users"
type="com.netfish.xdi.struts.beans.UserSummaryData"
collection="<% users% >">
should be
<logic:iterate id="usr"
name="users"
type="com.netfish.xdi.struts.beans.UserSummaryData"
collection="<%= users% >">
----- Original Message -----
From: "Vimal Kansal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 4:45 PM
Subject: Problem with iterate tag
> Hi,
>
> I am getting JSP parse exception, in the following
> code snippet :
>
> ====================================================
>
> <table width=100% border>
> <%-- This table will be
> generated, if at all any users were found --%>
> <logic:present name="USERS"
> scope="request" >
> <bean:define id="users"
> name="USERS" type="java.util.Vector" scope="request"
> toScope="request" />
> <tr>
> <th class=fieldheading>
>
> </th>
> <th class=fieldheading>
> Login Name
> </th>
> <th class=fieldheading>
> Full Name
> </th>
> <th class=fieldheading>
> Company
> </th>
> <th class=fieldheading>
> Department</th>
> <th class=fieldheading>
> Groups
> </th>
> </tr>
> <logic:iterate id="usr"
> name="users"
> type="com.netfish.xdi.struts.beans.UserSummaryData"
> collection="<% users% >">
> <tr>
> <td class=fieldentry>
> 1
> </td>
> <td class=fieldentry>
> <html:link
> page="/logon.do">
> <bean:write
> name="usr" property="userID" />
> </html:link>
> </td>
> <td class=fieldentry>
> <bean:write
> name="usr" property="fullName" />
> </td>
> <td class=fieldentry>
> <bean:write
> name="usr" property="company" />
> </td>
> <td class=fieldentry>
> <bean:write
> name="usr" property="department" />
> </td>
> </tr>
> </logic:iterate>
> </logic:present>
>
> ===================================================
>
> The error is happening on the line <logic:iterate
> .....
>
> Can somebody help me?
>
> Vimal
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>