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 <lukaszlen...@apache.org> wrote:
> 
> wt., 29 mar 2022 o 14:31 Ralph Grove <rfgr...@icloud.com.invalid> 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: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 


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

Reply via email to