Not able to access static fields with OGNL with struts2
<s:checkbox name="operation" fieldValue="@com.xx.xxx.webapp.action.EntryAction@OPERATIONAL" />
The above turning to HTML as below
<input type="checkbox" name="operation" value="@com.xx.xxx.webapp.action.EntryAction@OPERATIONAL" id="entry_operation"/>
instead the static constant declared as
com.xx.xxx.webapp.action.EntryAction.OPERATIONAL = "OPERATIONAL";
I've the constant <constant name="struts.ognl.allowStaticMethodAccess" value="true"/>
set correctly