struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Surana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4273) request parameters having name like iMessage ain't recognized/filled in the Action
Date Wed, 08 Jan 2014 15:05:50 GMT

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

Mime
View raw message