actually i stored the userList in session now i want to iterate it on jsp page to list users how to do that? and how to access userList object from session in jsp page ?
Regards, Dhiraj On Thu, Jul 10, 2008 at 1:39 AM, Struts Two <[EMAIL PROTECTED]> wrote: > What do you mean by "it's not producing any markup" ?. The iterator tag > does not produce any markup. > > ----- Original Message ---- > From: Dhiraj Thakur <[EMAIL PROTECTED]> > To: user@struts.apache.org > Sent: Wednesday, July 9, 2008 4:05:39 PM > Subject: iterate from session > > Hi there, > > I am trying to iterate a session variable of type HashMap<String, List> > using the following code, but it's not producing any markup.. > > <s:iterator value="#session.User" id="User"> > <s:property value="key" /> > <s:property value="value"/> > </s:iterator> > > If there is any example on how to iterate object from session variable than > please let me know. > > regards, > Dhiraj > > > > __________________________________________________________________ > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your > favourite sites. Download it now at > http://ca.toolbar.yahoo.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >