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

[jira] [Updated] (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 ]

Nitin Surana updated WW-4273:
-----------------------------

    Summary: request parameters having name like iMessage ain't recognized/filled in the Action  (was: request parameters naming name like iMessage ain't recognized)

> 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)