Sorry - theree is a typo I missed in copy/paste. That should have been: (if using struts.xml) - <constant name="struts.ognl.expressionMaxLength" value="1024" />
James. On Thursday, November 7, 2019, 8:02:13 p.m. EST, J C <jcyh24...@yahoo.ca.invalid> wrote: (Sorry about the separate thread for reply) Hello Markus. If you have expressions in your application longer than the default limit in 2.5.21 (200), that may be causing the exception (and hopefully also the WARN output). Please try applying a configuration change for your application (replace 1024 with whatever is the largest expression length you need for your application): (if using struts.properties) - struts.ognl.expressionMaxLength=1024 (if using struts.xml) - <constant name="sstruts.ognl.expressionMaxLength" value="1024" /> and see if that resolves the failure ? Please reply to the dev list to let us know if that helps or not. Thanks, James. > It is reported in WARN level: > > WARN com.opensymphony.xwork2.ognl.OgnlValueStack - Could not evaluate > this expression due to security constraints: > > Markus > >> Am 07.11.19 um 23:12 schrieb i...@flyingfischer.ch: >> See new errors like this: >> >> Caused by: java.lang.SecurityException: This expression exceeded maximum >> allowed length:.. >> >> followed by a longer OGNL expression in JSP. >> >> Markus >> >>> Am 07.11.19 um 20:57 schrieb Lukasz Lenart: >>> Hi, >>> >>> Please take a time and test the bits - any help is appreciated. Please >>> report any problems. I'll call for a vote in a few days if no problems >>> will be spotted. >>> >>> Staging Maven repo >>> https://repository.apache.org/content/groups/staging/ >>> Standalone artifacts >>> https://dist.apache.org/repos/dist/dev/struts/2.5.21/ >>> >>> Release notes >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.21 >>> >>> >>> Kind regards >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >>> For additional commands, e-mail: dev-h...@struts.apache.org >>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org