Hi,

Please ask such questions on the User Mailing list, the Dev list is
intended to support development of the framework.
https://struts.apache.org/mail.html

I made a simple example using struts-examples (where the ${} is used
in a few places) and it works, I would check if "session.list" exists,
maybe try to use "#session.list"
<s:iterator var="id" value="{'1','2','3'}">
    prop = <s:property value="id" /><br/>
    el = ${id}<br/>
</s:iterator>

Cheers
Lukasz

śr., 22 sty 2025 o 05:16 Murali Challa <challamura...@gmail.com> napisał(a):
>
> Hi,
>
> We are migrating our application from struts2-core 2.5.33 to 6.7.0.
>
> Post migration, we are facing issues while populating bean values in
> session.
>
> ${} is printing null values. Seems the EL is not working post 6.x migration.
>
> Can you help me to understand if I'm missing something in this migration.
>
> Below is the code snippet for your reference.
>
> <s:iterator value="session.list" var="menu" status="s">
>   <s:property value="id" /> // working
>
>    ${menu.id} // Not working
> <s:iterator>
>
> Thanks,
> Murali

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to