I found the problem - I had neglected to include the leading spaces of the
continuation line when calculating the expression length. They were converted
to tabs in my editor, which made the expression shorter. Putting the expression
on a single line eliminates the exception.
Original source:
<s:if test="%{participant.checklist <=
2
|| participant.surveyResponse ==
null}”>
Corrected:
<s:if test="%{participant.checklist <=
2 || participant.surveyResponse == null}">
Thanks for your help,
Ralph
> On Mar 29, 2022, at 8:43 AM, Lukasz Lenart <[email protected]> wrote:
>
> wt., 29 mar 2022 o 14:31 Ralph Grove <[email protected]> napisał(a):
>> Caused by: java.lang.SecurityException: This expression exceeded maximum
>> allowed length: participant.checklist >= 2
>> && participant.surveyResponse
>> == null
>
> Could you show the source of your JSP where this expression is used?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]