You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Evgenij Chudinov (JIRA)" <ji...@apache.org> on 2009/02/03 08:02:45 UTC

[jira] Created: (WW-2979) OGNL: Calling static method does not work

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.Integer@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.


[jira] Closed: (WW-2979) OGNL: Calling static method does not work

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
     [ 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.Integer@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.