[ 
https://issues.apache.org/struts/browse/WW-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Newton closed WW-2979.
---------------------------

    Resolution: Not A Problem

The default value of struts.ognl.allowStaticMethodAccess is false. Set it to 
true.

> OGNL: Calling static method does not work
> -----------------------------------------
>
>                 Key: WW-2979
>                 URL: https://issues.apache.org/struts/browse/WW-2979
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Expression Language
>    Affects Versions: 2.1.6
>         Environment: JDK 1.5, Tomcat 5.5.27
>            Reporter: Evgenij Chudinov
>            Priority: Critical
>
> Calling static method returns nothing.
> For example:
> <s:property value="@java.lang.inte...@parseint('123')"/>
> returns empty string.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to