[ 
https://issues.apache.org/jira/browse/WW-4348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091016#comment-15091016
 ] 

victorsosa edited comment on WW-4348 at 1/10/16 12:45 PM:
----------------------------------------------------------

This is already implemented, please check 
com.opensymphony.xwork2.ognl.OgnlUtil.setAllowStaticMethodAccess(String)

you only need to set "struts.ognl.allowStaticMethodAccess" true

<constant name="struts.ognl.allowStaticMethodAccess" value="true" />


was (Author: victorsosa):
This is already implemented, please check 
com.opensymphony.xwork2.ognl.OgnlUtil.setAllowStaticMethodAccess(String)

you only need to set "struts.ognl.allowStaticMethodAccess" true

> Remove access to static methods
> -------------------------------
>
>                 Key: WW-4348
>                 URL: https://issues.apache.org/jira/browse/WW-4348
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.3.16.3
>            Reporter: Lukasz Lenart
>            Priority: Critical
>             Fix For: 2.5
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to