Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
2.3.15
-
None
-
windows 7 64-bit, jdk 1.7, struts2.3.15
-
Important
Description
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).