Re: Facings issues while migrating from Struts 2.5.x to 6.7

Murali Challa <[email protected]> Mon, 27 Jan 2025 13:11:10 +0530
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <CA+cwYWCciuAvur5eCbPi_bqGJ7m4rRoMhNwYwyqwua93nzJ16w@mail.gmail.com>
Hi Lukasz,

Yes, the values in session exist.

We are able to iterate through session.list and while trying to print
values of session.list using EL, empty values are getting printed.

EL is inside <td> tag and we can see table with empty rows (here rows count
is equal to session.list size) is getting displayed in UI.

On Mon, 27 Jan, 2025, 12:31 Lukasz Lenart, <[email protected]> wrote:

> śr., 22 sty 2025 o 11:25 Murali Challa <[email protected]>
> napisał(a):
> > Not sure why it is printing empty values while iterating through session
> > list.
>
> Could you confirm the value in session exists? Something like this:
> <s:property value="#session.myValue"/>
>
>
> https://struts.apache.org/getting-started/http-session#accessing-http-session-objects-in-the-view
>
> https://struts.apache.org/core-developers/accessing-application-session-request-objects#accessing-from-the-view-jsp-freemarker-etc
>
>
> Cheers
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>