Struts OGNL expression

18 Views Asked by At

I have 2 struts hidden tags as follows:- <s:hidden name="userList" id="userList"></s:hidden> <s:hidden name="userId" id="tUserId" value="%{#userData.userId}" />

userId will have a value like 101. userList will have a value like 101,102,103

I am facing an issue while trying to evaluate the following expression in struts if tag.

<s:if test ="%{#userData.userId in {userList}}">

I've tried a lot of possibilities, read articles, tutorials but didn't find a suitable answer to my problem.

0

There are 0 best solutions below