Description
Accessing static variables of a public class does not seem to work. I tried setting the struts.ognl.allowStaticMethodAccess = true in the project root's struts.properties but it didn't change anything.
<s:property value="@de.mytest.common.Constants@CONSTANT" default="Nothing" />
For this, I get "Nothing" as the output. It seems to have worked in 2.5.18.
Attachments
Issue Links
- duplicates
-
WW-5004 No more calling of a static variable in Struts 2.8.20 available
- Closed