Hi  Iyanu Rajasekaran ,

Thanks for the reply. I got an error...

ception: /serverpages/main-rusers.jsp(45,33) equal symbol expected

On Thu, 24 Feb 2005 05:35:41 -0500, Iyanu, Rajasekaran
<[EMAIL PROTECTED]> wrote:
> 
>  Richard,
> 
>  U can specify it like this...
> 
>     <logic:iterate id="objRUser" name"rusers">
>         <bean:write name="objRUser" property="username">
>     </logic:iterate>
> 
>  When the iterate tag is evaluated, every element of rusers will be
> taken out, typecasted into the Ruser Object and will be passed to the
> loop..
>  bean:write tag here can process this object, and use the get method of
> the Ruser object to display the username value...
> 
>  Does this answer ur question..?
> 
>  Cheers
>  Rajasekaran Iyanu.
>  [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 24, 2005 3:52 PM
> To: Struts Users Mailing List
> Subject: logic iterate help
> 
> Hello Guys,
> 
> I have a user obj at sessionScope. Now this object have an
> field/object in it of  type ArrayList named rusers. Arraylist rusers
> contains an array of object
> 
> public class RUser {
> 
>     private String username = "";
>     private String password = "";
> .
> .
> .
> 
> How do i display the username using logic iterate.
> 
> Please help
> Thanks
> Richard
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to