[ 
https://issues.apache.org/struts/browse/WW-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46300#action_46300
 ] 

Wes Wannemacher commented on WW-3125:
-------------------------------------

Vladimir, you are going to have to provide more details, if you have both 
methods setMyValue(long) and setMyValue(Long) on your action class, I don't 
think we'd support it. If you are having trouble with the first, we'll need 
more details about which app server, jre, etc. since I can't seem to reproduce.

> Incorrect reflection behavior while parameters setting
> ------------------------------------------------------
>
>                 Key: WW-3125
>                 URL: https://issues.apache.org/struts/browse/WW-3125
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.0
>         Environment: xwork-2.1.0 struts-2.1.0
>            Reporter: Vladimir Limansky
>             Fix For: 2.1.8
>
>
> Incorrect reflection behavior while parameters setting:
> public class MyAction extends ActionSupport {
> void setMyValue(Long value) {//this method is NOT called
> this.value = value;
> }
> }
> public class MyAction extends ActionSupport {
> void setMyValue(long value) {//this method is called
> this.value = value;
> }
> }
> the url is 
> blah-blah&myValue=10
> }

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