struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Struts Two <struts...@yahoo.ca>
Subject Re: iterate from session
Date Wed, 09 Jul 2008 20:09:42 GMT
What do you mean by "it's not producing any markup" ?. The iterator tag does not produce any
markup.

----- Original Message ----
From: Dhiraj Thakur <desi.tek.org@gmail.com>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message