Its working thanks. another thing though. I need to use a constant variable for <logic:iterate name="put name of the session file here"
the name attribute. like <logic:iterate name="Konstants.session_key" how do i do that? thanks richard On Thu, 24 Feb 2005 15:54:43 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > Hi Richards, > > <logic:iterate name="put name of the session file here" property="rUser" > id="idRuser"> > <bean:write name="idRuser" property="username"> > <bean:write name="idRuser" property="password"> > > </logic:iterate> > > Make sure that class Ruser has getter and setter methods too > > Regards, > Krishna Mohan > > -----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]