Hii,

I prefered use the second one. Just use "name"

Regards

On Wed, Feb 19, 2025, 5:25 PM Murali Challa <challamura...@gmail.com> wrote:

> Hi,
>
> Can someone suggest among below which is best/preferred way of using
> <s:properly /> tag with in <s:iterator/>.
>
>
> <s:iterator value="#session.userList" var="user">
>
>   <s:property value="#user.name" /> //getting value using var.name
>   <s:property value="name" /> // getting value directly using name
>
> </s:iterator>
>
> Both are working but just wanted to know which is more preferred to use.
>

Reply via email to