On 9/26/2017 7:41 PM, Roslyakova, Svetlana wrote: > Here is the full example: > > <s:iterator var="UserRow" status="stat" value="session.userList"> >
Does your action have getSession() method? As I remember, to access session we should use #session e.g. #session.userList or #session['userList'] > <s:set var="index" value="%{#stat.index}" /> > <tr> > > <td><div id="commitdiv<s:property value="#index"/>"><s:textfield > type="text" id="userId" theme="simple" name="session. userList > [%{#stat.index}].UserId" value="%{top.UserId}" /></div></td> > </tr> > Same as above, I guess it should be #session.userList [%{#stat.index}].UserId Regards, Yasser. > The UserList is the business class and getters/setters for UserId in that > class are as follows: > > public String getUserId() { > return UserId; > } > public void setUserId(String userId) { > UserId = userId; > } > > It all worked before the upgrade. > > Thanks, > > Lana. > > > > -----Original Message----- > From: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Sent: Tuesday, September 26, 2017 11:39 AM > To: Struts Users Mailing List <user@struts.apache.org> > Subject: Re: Question about upgrade to struts2 2.3.34 and session variables > > 2017-09-26 17:27 GMT+02:00 Roslyakova, Svetlana > <svetlana.roslyak...@bnymellon.com>: >> Hi Lukasz, >> >> I have another issue with struts2 2.3.34 upgrade. >> We are using session variables throughout the application: >> >> <s:textfield type="text" id="userId" theme="simple" >> name="session.user.UserId" value="%{top.UserId}" /> > > What getters/setters do you have for UserId? And why do you use %{top.UserId}? > > > Regards >