You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/01/08 16:11:53 UTC

[jira] [Closed] (WW-4273) request parameters having name like iMessage ain't recognized/filled in the Action

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

Lukasz Lenart closed WW-4273.
-----------------------------

    Resolution: Duplicate

This will be solved when Ognl will be upgraded to 3.0.8

> request parameters having name like iMessage ain't recognized/filled in the Action
> ----------------------------------------------------------------------------------
>
>                 Key: WW-4273
>                 URL: https://issues.apache.org/jira/browse/WW-4273
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.3.15
>         Environment: windows 7 64-bit, jdk 1.7, struts2.3.15
>            Reporter: Nitin Surana
>            Priority: Blocker
>              Labels: features, test
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> A field like 
> private String iMessage;
> will have getters/setters like
> public String getiMessage(){...}
> public String setiMessage(){...}
> If you think it's incorrect (which I thought initially) then please refer this link - http://dertompson.com/2013/04/29/java-bean-getterssetters/
> Now, if the request contains ?iMessage=my-message
> It's not recongnized/filled in the Action, while changing the setter to
> setIMessage() does the job, which is incorrect (due to java naming conventions).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)